Skip to content

Commit

Permalink
debug: try different node versions in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinjiang committed Jan 11, 2024
1 parent b44696e commit dd9ff10
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Expand Up @@ -13,12 +13,13 @@ jobs:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8.5.0
version: 8.12.0
- uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '16'
cache: 'pnpm'
- run: pnpm install
- run: pnpm pretest:webpack4
- run: pnpm test:webpack4

test-webpack5:
Expand All @@ -27,12 +28,13 @@ jobs:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8.5.0
version: 8.12.0
- uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '20'
cache: 'pnpm'
- run: pnpm install
- run: pnpm pretest
- run: pnpm test

test-webpack5-inline-match-resource:
Expand All @@ -41,10 +43,11 @@ jobs:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8.5.0
version: 8.12.0
- uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '20'
cache: 'pnpm'
- run: pnpm install
- run: pnpm pretest:match-resource
- run: pnpm test:match-resource

0 comments on commit dd9ff10

Please sign in to comment.