Skip to content

Commit d1bee6a

Browse files
committed
chore(ci): updatin ci to work with npm
1 parent fa86e8c commit d1bee6a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
uses: actions/setup-node@v4
2626
with:
2727
node-version: '20'
28-
cache: 'yarn'
28+
cache: 'npm'
2929

3030
- name: Install dependencies
31-
run: yarn install --frozen-lockfile
31+
run: npm ci
3232

3333
- name: Derive appropriate SHAs for base and head for nx affected commands
3434
uses: nrwl/nx-set-shas@v4
@@ -48,7 +48,7 @@ jobs:
4848
continue-on-error: false
4949

5050
- name: Clear Jest cache
51-
run: yarn jest --clearCache
51+
run: npm run jest -- --clearCache
5252

5353
- name: Run tests on affected projects
5454
run: npx nx affected --target=test --parallel=3 --coverage
@@ -71,11 +71,11 @@ jobs:
7171
uses: actions/setup-node@v4
7272
with:
7373
node-version: '20'
74-
cache: 'yarn'
74+
cache: 'npm'
7575
registry-url: 'https://registry.npmjs.org'
7676

7777
- name: Install dependencies
78-
run: yarn install --frozen-lockfile
78+
run: npm ci
7979

8080
- name: Derive appropriate SHAs for base and head for nx affected commands
8181
uses: nrwl/nx-set-shas@v4

0 commit comments

Comments
 (0)