test node 18

This commit is contained in:
silverwind 2022-06-14 23:03:44 +02:00
parent bd33c5f690
commit a5ee7897e2
No known key found for this signature in database
GPG Key ID: 2E62B41C93869443

View File

@ -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: