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 7, 2023
1 parent 5d38ce8 commit 8db06a4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yaml
Expand Up @@ -13,7 +13,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 @@ -26,7 +26,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with: { node-version: latest }
with:
node-version: 20
- run: npm ci
- run: npx prettier --check .

Expand All @@ -35,7 +36,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with: { node-version: latest }
with:
node-version: 20
- run: npm ci
- run: npx remark --frail .

Expand All @@ -51,7 +53,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 8db06a4

Please sign in to comment.