Skip to content

Commit bb4f713

Browse files
authored
Migrate from yarn to npm (#948)
1 parent 62bb864 commit bb4f713

File tree

9 files changed

+5301
-4529
lines changed

9 files changed

+5301
-4529
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
- uses: actions/setup-node@v4
2020
with:
2121
node-version: ${{ matrix.node-version }}
22-
cache: "yarn"
22+
cache: "npm"
2323
- name: install
24-
run: yarn
24+
run: npm install
2525
- name: lint+format
2626
run: biome ci
2727
- name: build
28-
run: yarn build
28+
run: npm run build
2929
- name: test
30-
run: yarn test
30+
run: npm run test

.github/workflows/push.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ jobs:
2020
run: corepack enable
2121
- uses: actions/setup-node@v4
2222
with:
23-
cache: "yarn"
23+
cache: "npm"
2424

25-
- run: yarn
25+
- run: npm install
2626

2727
- name: Create Release Pull Request or Publish to npm
2828
id: changesets
2929
uses: changesets/action@v1
3030
with:
31-
publish: yarn release
31+
publish: npm run release
3232
title: Publish <version>
3333
env:
3434
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
legacy-peer-deps=true

.yarnrc.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)