Skip to content

Commit

Permalink
Update npm-publish.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Saiem Gilani <[email protected]>
  • Loading branch information
saiemgilani committed Jul 31, 2023
1 parent 7f082de commit 0230907
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,20 @@ jobs:
matrix:
node-version: [14, 16, 18, 20]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install && npm ci
- run: npm test

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
Expand Down

1 comment on commit 0230907

@vercel
Copy link

@vercel vercel bot commented on 0230907 Jul 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.