From d43d5365c81a981c2a3d355232fb52f6144f0b37 Mon Sep 17 00:00:00 2001 From: Jason Jean Date: Wed, 31 Jan 2024 15:28:29 -0500 Subject: [PATCH] chore(repo): use large macos 13 agents for freebsd (#21468) --- .github/workflows/publish.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c3b290ae14..f7c7dbe3d5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -157,7 +157,7 @@ jobs: if-no-files-found: error build-freebsd: - runs-on: macos-12 + runs-on: macos-13-large name: Build FreeBSD timeout-minutes: 45 steps: @@ -223,6 +223,10 @@ jobs: needs: - build-freebsd - build + env: + GH_TOKEN: ${{ github.token }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_CONFIG_PROVENANCE: true steps: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v2 @@ -235,6 +239,8 @@ jobs: registry-url: 'https://registry.npmjs.org' check-latest: true cache: 'pnpm' + - name: Check NPM Credentials + run: npm whoami && echo "NPM credentials are valid" || (echo "NPM credentials are invalid or have expired." && exit 1) - name: Install dependencies run: pnpm install --frozen-lockfile - name: Download all artifacts @@ -271,7 +277,3 @@ jobs: git branch -f website git push -f origin website fi - env: - GH_TOKEN: ${{ github.token }} - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - NPM_CONFIG_PROVENANCE: true