Skip to content

Commit

Permalink
Upgrade GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bokub committed Sep 12, 2024
1 parent 50e91d9 commit 147e5fb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '18'
registry-url: https://registry.npmjs.org/

- name: Install dependencies
run: yarn
Expand All @@ -24,12 +25,13 @@ jobs:
uses: codecov/codecov-action@v4
with:
files: ./coverage.lcov
token: ${{ secrets.CODECOV_TOKEN }}

- name: Publish on npm
if: startsWith(github.ref, 'refs/tags/')
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Add card file to release
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit 147e5fb

Please sign in to comment.