Skip to content

Commit 11663cd

Browse files
committed
build: migrate from yarn to npm
1 parent 7f3fc02 commit 11663cd

File tree

4 files changed

+4920
-2681
lines changed

4 files changed

+4920
-2681
lines changed

.github/workflows/ci.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ jobs:
2323
uses: actions/setup-node@v4
2424
with:
2525
node-version: 20
26-
# cache: 'yarn'
26+
cache: 'npm'
2727

2828
- name: Fetch deps
29-
run: yarn --mutex network --frozen-lockfile --network-concurrency 25 --silent --disable-self-update-check
29+
run: npm ci
3030

3131
- name: Build
32-
run: yarn build
32+
run: npm run build
3333

3434
- name: Run tests
35-
run: yarn test
35+
run: npm run test
3636

3737
# - name: Codeclimate
3838
# if: github.ref == 'refs/heads/main'
@@ -73,13 +73,13 @@ jobs:
7373
uses: actions/setup-node@v4
7474
with:
7575
node-version: ${{ matrix.node-version }}
76-
cache: 'yarn'
76+
cache: 'npm'
7777

7878
- name: Fetch deps
79-
run: yarn --mutex network --frozen-lockfile --network-concurrency 25 --silent --disable-self-update-check
79+
run: npm ci
8080

8181
- name: Build
82-
run: yarn build
82+
run: npm run build
8383

8484
- name: Run tests
85-
run: yarn test
85+
run: npm run test

0 commit comments

Comments
 (0)