mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-14 16:44:07 -08:00
40 lines
888 B
YAML
40 lines
888 B
YAML
name: Destroy Benchmark Env
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 1 * * *'
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
id-token: write
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
environment: benchmarking
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4.1.1
|
|
|
|
- name: Azure login
|
|
uses: azure/login@v2.1.1
|
|
with:
|
|
client-id: ${{ secrets.BENCHMARK_ARM_CLIENT_ID }}
|
|
tenant-id: ${{ secrets.BENCHMARK_ARM_TENANT_ID }}
|
|
subscription-id: ${{ secrets.BENCHMARK_ARM_SUBSCRIPTION_ID }}
|
|
|
|
- run: corepack enable
|
|
- uses: actions/setup-node@v4.0.2
|
|
with:
|
|
node-version: 20.x
|
|
cache: 'pnpm'
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Destroy cloud env
|
|
run: pnpm destroy-cloud-env
|
|
working-directory: packages/@n8n/benchmark
|