Skip to content

Commit

Permalink
ci: use only node 20 in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed May 10, 2024
1 parent 096c2e8 commit 4691a06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,12 @@ jobs:
name: Build Tests - Node.js
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version: 20
cache: yarn
cache-dependency-path: yarn.lock

Expand All @@ -42,5 +36,4 @@ jobs:
run: yarn jest -c jest.ci.config.js --coverage

- name: Codecov
if: ${{ matrix.node-version == '20.x' }}
uses: codecov/codecov-action@v3
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@
"luxon": "^3.0.1"
},
"packageManager": "[email protected]"
}
}

0 comments on commit 4691a06

Please sign in to comment.