Skip to content

Commit 0eb480c

Browse files
authored
chore: switch from yarn to npm (#852)
1 parent bfdb500 commit 0eb480c

File tree

5 files changed

+19217
-5980
lines changed

5 files changed

+19217
-5980
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
uses: actions/setup-node@v4
3232
with:
3333
node-version: ${{ matrix.node-version }}
34-
cache: 'yarn'
34+
cache: 'npm'
3535

3636
- name: Install dependencies
37-
run: yarn install --frozen-lockfile --non-interactive
37+
run: npm ci
3838

3939
- name: Run linters
40-
run: yarn lint
40+
run: npm run lint
4141

4242
- name: Run tests
43-
run: yarn test
43+
run: npm test

.github/workflows/release-please.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
registry-url: https://registry.npmjs.org
2828
if: ${{ steps.release.outputs.release_created }}
2929
- run: |
30-
yarn install --non-interactive
31-
yarn publish --provenance
30+
npm ci
31+
npm publish --provenance
3232
env:
3333
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3434
if: ${{ steps.release.outputs.release_created }}

0 commit comments

Comments
 (0)