Skip to content

Commit

Permalink
add node v19 support (#1130)
Browse files Browse the repository at this point in the history
Closes #1129
  • Loading branch information
Skn0tt authored Apr 3, 2023
1 parent 851861f commit cc26bb9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

strategy:
matrix:
node-version: [14, 16, 18]
node-version: [14, 16, 18, 19]
fail-fast: false

services:
Expand All @@ -38,31 +38,32 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- if: ${{ matrix.node-version == 14 }}
- if: ${{ matrix.node-version == 18 }}
uses: microsoft/playwright-github-action@v1
- run: npm i -g npm@7
- run: npm explore npm/node_modules/@npmcli/run-script -g -- npm_config_global=false npm install node-gyp@latest
- run: npm ci
- run: npm run build
- run: npm test -- --coverage
- if: ${{ matrix.node-version == 14 }}
- if: ${{ matrix.node-version == 18 }}
name: Coveralls Quirrel
uses: coverallsapp/github-action@master
with:
flag-name: quirrel
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage/lcov.info
parallel: true
- if: ${{ matrix.node-version == 14 }}
- if: ${{ matrix.node-version == 18 }}
run: npm ci
working-directory: development-ui
- if: ${{ matrix.node-version == 14 }}
- if: ${{ matrix.node-version == 18 }}
name: Install Playwright Browsers
run: npx playwright install --with-deps
working-directory: development-ui
- if: ${{ matrix.node-version == 14 }}
- if: ${{ matrix.node-version == 18 }}
run: npm run test:ci
working-directory: development-ui
- if: ${{ matrix.node-version == 14 }}
- if: ${{ matrix.node-version == 18 }}
name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"module": "dist/esm/src/index.js",
"version": "1.13.3",
"engines": {
"node": "14 || 15 || 16 || 17 || 18"
"node": "14 || 15 || 16 || 17 || 18 || 19"
},
"bin": {
"quirrel": "cli.js"
Expand Down

0 comments on commit cc26bb9

Please sign in to comment.