Skip to content

Commit

Permalink
Update npm-push.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
garris authored Feb 23, 2024
1 parent ed80d46 commit 2f5ef97
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/npm-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,18 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
ref: ${{ github.event.pull_request.head.sha || github.ref }}

- uses: actions/setup-node@v3
with:
node-version: "20"

- run: npm ci

- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}

0 comments on commit 2f5ef97

Please sign in to comment.