Skip to content

Commit

Permalink
Merge pull request #7 from digen21/MP-04-fix-main-path-to-dist
Browse files Browse the repository at this point in the history
Update GitHub Actions workflow to support additional Node.js versions…
  • Loading branch information
digen21 authored Dec 22, 2024
2 parents 1d0b889 + 11b4124 commit 29e49b9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,18 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 23.x]
node-version: [18.x, 20.x, 21.x]
steps:
- name: checkout
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/
- name: Log in to npm
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" > ~/.npmrc
- name: 🚀 Publish
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

0 comments on commit 29e49b9

Please sign in to comment.