diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 27ac9ad..f02cbfa 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -7,6 +7,10 @@ permissions: contents: read pull-requests: write +env: + pnpm_config_dangerously_allow_all_builds: true + SKIP_INSTALL_SIMPLE_GIT_HOOKS: true + jobs: benchmark: name: Benchmark @@ -33,12 +37,12 @@ jobs: version: latest - name: Install head working-directory: head - run: pnpm install --dangerously-allow-all-builds + run: pnpm install - name: Install base working-directory: base run: | [ -f benchmark/index.js ] || exit 0 - pnpm install --dangerously-allow-all-builds || { + pnpm install || { echo "::warning::base install failed, comparing without it" rm benchmark/index.js } diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7259d36..381fac2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,6 +8,10 @@ on: branches: - master +env: + pnpm_config_dangerously_allow_all_builds: true + SKIP_INSTALL_SIMPLE_GIT_HOOKS: true + jobs: test: runs-on: ubuntu-latest @@ -23,7 +27,7 @@ jobs: with: version: latest - name: Install - run: pnpm install --dangerously-allow-all-builds + run: pnpm install - name: Test run: npm test - name: Report