Skip to content

Commit

Permalink
Update npm in the workflow using a command that exists
Browse files Browse the repository at this point in the history
  • Loading branch information
danyalaytekin committed Nov 9, 2023
1 parent 67370cc commit df1424e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
with:
node-version: 18
registry-url: https://registry.npmjs.org
- run: npm update -g npm@10
- run: npm install -g npm@10
- run: npm ci

- name: Publish package
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm update -g npm@10
- run: npm install -g npm@10
- run: npm ci
- run: npm test

0 comments on commit df1424e

Please sign in to comment.