Skip to content

Commit

Permalink
improve publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierZal committed May 3, 2024
1 parent 4afb3b3 commit b433793
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,15 @@ jobs:
permissions:
contents: read
packages: write
strategy:
matrix:
node-version: [12.x, 16.x, 22.x]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: 22.x
node-version: ${{ matrix.node-version }}
registry-url: https://npm.pkg.github.com
scope: '@olivierzal'
- run: npm ci --force
Expand Down

0 comments on commit b433793

Please sign in to comment.