Skip to content

Commit

Permalink
Update to Node 18 (#893)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjbarth committed Mar 26, 2024
1 parent a06ff72 commit fac7993
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 5 deletions.
32 changes: 28 additions & 4 deletions .github/workflows/workflow.yml
Expand Up @@ -8,17 +8,23 @@ on:
branches: [master]

jobs:
build:
test:
runs-on: ubuntu-latest
env:
CI: true

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
os: [ubuntu-latest]
node-version: [18, 20]
experimental: [false]
include:
- os: ubuntu-latest
node-version: latest
experimental: true

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
Expand All @@ -29,6 +35,24 @@ jobs:
- run: npm ci
- run: npm test
- name: Codecov
uses: codecov/codecov-action@v3.1.1
uses: codecov/codecov-action@v3.1.4
with:
verbose: true

lint:
runs-on: ubuntu-latest
env:
CI: true

strategy:
matrix:
node-version: [18, 20]

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run lint
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -86,7 +86,7 @@
"typescript": "^4.8.4"
},
"engines": {
"node": ">= 14"
"node": ">= 18"
},
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit fac7993

Please sign in to comment.