Skip to content

Commit a23c088

Browse files
committed
Change CI
1 parent a00d2fa commit a23c088

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Node.js CI
33
on:
44
pull_request:
55
push:
6-
branches: [main]
6+
branches: [main, dev]
77

88
jobs:
99
pre-commit:
@@ -24,7 +24,7 @@ jobs:
2424

2525
strategy:
2626
matrix:
27-
node-version: [20.x, 22.x]
27+
node-version: [22.x]
2828

2929
steps:
3030
- uses: actions/checkout@v4
@@ -33,11 +33,9 @@ jobs:
3333
with:
3434
node-version: ${{ matrix.node-version }}
3535
cache: 'npm'
36-
- run: npm ci
37-
- run: npm test
36+
- run: npm ci --workspaces --include-workspace-root
3837
- run: npm run lint
3938
- run: npm run format
40-
- run: npm run build:debug
41-
- run: npm run build:prod
42-
- run: npm run check:esmloads
43-
- run: npm run check:cjsloads
39+
- run: npm run build:debug --ws --if-present
40+
- run: npm run build --ws --if-present
41+
- run: npm test --workspaces

0 commit comments

Comments
 (0)