Destroy Benchmark Env #180
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Destroy Benchmark Env | |
on: | |
schedule: | |
- cron: '0 5 * * *' | |
workflow_dispatch: | |
permissions: | |
id-token: write | |
contents: read | |
concurrency: | |
group: benchmark | |
cancel-in-progress: false | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
environment: benchmarking | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Azure login | |
uses: azure/[email protected] | |
with: | |
client-id: ${{ secrets.BENCHMARK_ARM_CLIENT_ID }} | |
tenant-id: ${{ secrets.BENCHMARK_ARM_TENANT_ID }} | |
subscription-id: ${{ secrets.BENCHMARK_ARM_SUBSCRIPTION_ID }} | |
- uses: actions/[email protected] | |
with: | |
node-version: 20.x | |
- name: Setup corepack and pnpm | |
run: | | |
npm i -g [email protected] | |
corepack enable | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Destroy cloud env | |
run: pnpm destroy-cloud-env | |
working-directory: packages/@n8n/benchmark |