Skip to content

Commit

Permalink
Use Node 20 for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jpwilliams committed Mar 12, 2024
1 parent bfdbc2a commit b55b3a3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 18 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/testAndPublishOnTag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [10, 12, 14, 16]
node: [10, 12, 14, 16, 18, 20]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm ci
Expand All @@ -24,10 +24,10 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 14
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
Expand All @@ -39,10 +39,10 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 14
node-version: 20
registry-url: https://npm.pkg.github.com/
scope: "@jpwilliams"
- run: npm ci
Expand All @@ -60,10 +60,10 @@ jobs:
contents: read
id-token: write # The OIDC ID token is used for authentication with JSR.
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 14
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/testOnPush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [10, 12, 14, 16]
node: [10, 12, 14, 16, 18, 20]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm ci
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,5 @@
"onchange": "7.1.0",
"ts-jest": "27.0.7",
"typescript": "4.4.4"
},
"volta": {
"node": "16.14.0"
}
}

0 comments on commit b55b3a3

Please sign in to comment.