Skip to content

Commit

Permalink
chore: use pnpm to install release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Nov 16, 2023
1 parent 3bc1d42 commit 4854275
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish-npm-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 4854275

Please sign in to comment.