Skip to content

Commit 2dd13ab

Browse files
committed
chore: replace yarn with npm
1 parent 1afdb93 commit 2dd13ab

File tree

6 files changed

+394
-130
lines changed

6 files changed

+394
-130
lines changed

.github/workflows/nodejs.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ jobs:
2222
os:
2323
- ubuntu-latest
2424
steps:
25-
- uses: actions/checkout@v4
26-
- name: Use Node.js ${{ matrix.node }}
27-
uses: actions/setup-node@v4
28-
with:
29-
node-version: ${{ matrix.node }}
30-
registry-url: 'https://registry.npmjs.org'
31-
cache: ''
32-
- run: npm config --global set spin false
33-
if: '${{ matrix.node < 18 }}'
34-
- run: yarn install --frozen-lockfile
35-
- run: yarn run test
25+
- uses: actions/checkout@v4
26+
- name: Use Node.js ${{ matrix.node }}
27+
uses: actions/setup-node@v4
28+
with:
29+
node-version: ${{ matrix.node }}
30+
registry-url: 'https://registry.npmjs.org'
31+
cache: ''
32+
- run: npm config --global set spin false
33+
if: '${{ matrix.node < 18 }}'
34+
- run: npm ci
35+
- run: npm test

.github/workflows/publish-npm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
node-version: 20
1616
registry-url: 'https://registry.npmjs.org'
1717
cache: ''
18-
- run: yarn install --frozen-lockfile
19-
- run: yarn run test
18+
- run: npm ci
19+
- run: npm test
2020
- run: npm publish --provenance --access public
2121
env:
2222
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
save-exact=true

0 commit comments

Comments
 (0)