forked from LittleChest/dns-packet
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:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
node-version: 16
|
node-version: 18
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
@ -28,7 +28,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ ubuntu-latest ]
|
os: [ ubuntu-latest ]
|
||||||
node: [ 6, 8, 10, 12, 14, 16 ]
|
node: [ 6, 8, 10, 12, 14, 16, 18 ]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
@ -45,7 +45,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node }}
|
node-version: ${{ env.node-version }}
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npx -y c8 --reporter=lcov npm test
|
- run: npx -y c8 --reporter=lcov npm test
|
||||||
env:
|
env:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user