From 485427576d9ee438a78d60ade9bb8068ea1b8099 Mon Sep 17 00:00:00 2001 From: ghiscoding Date: Wed, 15 Nov 2023 20:00:47 -0500 Subject: [PATCH] chore: use pnpm to install release workflow --- .github/workflows/publish-npm-beta.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish-npm-beta.yml b/.github/workflows/publish-npm-beta.yml index 71792697f..a84cbcf77 100644 --- a/.github/workflows/publish-npm-beta.yml +++ b/.github/workflows/publish-npm-beta.yml @@ -8,12 +8,6 @@ permissions: jobs: deploy-npm-beta: - - if: ${{ github.event.pull_request.merged != true && contains('["ghiscoding"]', github.actor) != true }} - name: Ensure current actor is allowed to run the workflow - run: | - echo "Error: Your GitHub username (${{ github.actor }}) is not on the allowed list of admins for this workflow" - exit 1 - runs-on: ubuntu-latest timeout-minutes: 30 steps: @@ -23,6 +17,12 @@ jobs: fetch-depth: 3 token: ${{ secrets.GITHUB_TOKEN }} + - if: ${{ github.event.pull_request.merged != true && contains('["ghiscoding"]', github.actor) != true }} + name: Ensure current actor is allowed to run the workflow + run: | + echo "Error: Your GitHub username (${{ github.actor }}) is not on the allowed list of admins for this workflow" + exit 1 + - name: Set NodeJS uses: actions/setup-node@v4 with: