Skip to content

Commit

Permalink
Update CI workflows and drop node 16
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianMitchL committed Apr 18, 2024
1 parent d37cb14 commit 1d49f1e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
version: [16, 18]
version: [18, 20]
steps:
- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.version }}
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install deps
run: npm ci
- name: Check Types
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: 20
- name: Install deps
run: npm ci
- name: Check Types
Expand All @@ -24,7 +24,7 @@ jobs:
- name: Run tests
run: npm run test:unit
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,6 @@
"pre-commit": "npm run prettier-staged"
},
"engines": {
"node": ">=16.15.0"
"node": "^18.0.0 || >=20.0.0"
}
}

0 comments on commit 1d49f1e

Please sign in to comment.