bump version #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
env: | |
CI: true | |
jobs: | |
Tests: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
node: [14, 16, 18] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node }} | |
check-latest: true | |
- name: Force node-gyp 9.0.0 in Windows | |
if: ${{ matrix.os == 'windows-latest' }} | |
run: | | |
npm install --global [email protected] | |
npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"} | |
- name: Install dependencies | |
run: npm i | |
- name: Run tests | |
uses: GabrielBB/xvfb-action@v1 | |
with: | |
run: npm test |