test node 18
This commit is contained in:
parent
bd33c5f690
commit
a5ee7897e2
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -8,7 +8,7 @@ on:
|
||||
|
||||
env:
|
||||
CI: true
|
||||
node-version: 16
|
||||
node-version: 18
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
@ -28,7 +28,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ ubuntu-latest ]
|
||||
node: [ 6, 8, 10, 12, 14, 16 ]
|
||||
node: [ 6, 8, 10, 12, 14, 16, 18 ]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@ -45,7 +45,7 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
node-version: ${{ env.node-version }}
|
||||
- run: npm install
|
||||
- run: npx -y c8 --reporter=lcov npm test
|
||||
env:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user