Skip to content

Commit

Permalink
Use Node.js 20 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
remcohaszing committed May 6, 2023
1 parent fe1ff66 commit 0a5d0eb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
- run: npm ci
- run: npx eslint .

Expand All @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
- run: npm ci
- run: npm pack
- uses: actions/upload-artifact@v3
Expand All @@ -35,7 +35,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
- run: npm ci
- run: npx remark --frail .

Expand All @@ -59,15 +59,15 @@ jobs:
name: test-results-node${{ matrix.node-version }}
path: test-results/
- uses: codecov/codecov-action@v3
if: ${{ matrix.node-version == 18 }}
if: ${{ matrix.node-version == 20 }}

prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 18
node-version: 20
- run: npm ci
- run: npx prettier .

Expand All @@ -77,7 +77,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
- run: npm ci
- run: npx tsc

Expand All @@ -94,7 +94,7 @@ jobs:
steps:
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
registry-url: https://registry.npmjs.org
- uses: actions/download-artifact@v3
with: { name: package }
Expand Down

0 comments on commit 0a5d0eb

Please sign in to comment.