Skip to content

Commit 11ed505

Browse files
committed
refactor: replace npm commands with node --run for consistency in workflows
1 parent 8a691f7 commit 11ed505

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: npm ci
2727

2828
- name: Build
29-
run: npm run build
29+
run: node --run build
3030

3131
- name: Deploy
3232
uses: Azure/static-web-apps-deploy@v1

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ jobs:
2222
run: node --run install:test-browsers
2323

2424
- name: Lint
25-
run: npm run lint
25+
run: node --run lint
2626

2727
- name: Check TypeScript types
28-
run: npm run check-types
28+
run: node --run check-types
2929

3030
- name: Build
31-
run: npm run build
31+
run: node --run build
3232

3333
- name: Run tests
34-
run: npm test
34+
run: node --run test
3535

3636
e2e-tests:
3737
runs-on: ubuntu-latest
@@ -52,10 +52,10 @@ jobs:
5252
run: node --run install:test-browsers
5353

5454
- name: Build
55-
run: npm run build
55+
run: node --run build
5656

5757
- name: Run E2E tests
58-
run: npm run ci:e2e
58+
run: node --run ci:e2e
5959

6060
changeset-check:
6161
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)