Skip to content

Commit

Permalink
meta: update GitHub Actions workflows (#83)
Browse files Browse the repository at this point in the history
- Remove Node.js v14 from the test matrix as it has reached its EoL
(End-of-Life) stage, and add Node.js v20 to the test matrix.
- Update actions to their latest versions.
  • Loading branch information
VoltrexKeyva authored Aug 31, 2023
1 parent ba8103e commit c737bef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [14, 16, 18]
node: [16, 18, 20]
steps:
- uses: actions/checkout@v3
- name: Cache node_modules
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '18.x'
node-version: 18
check-latest: true
registry-url: https://registry.npmjs.org/
- name: Install Dependencies
run: npm install
- name: Run Jest tests
run: npm run test
run: npm run test

0 comments on commit c737bef

Please sign in to comment.