Add link from readme to license (#273) #527
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: Node CI | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [15.x, 16.x, 17.x] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Update npm | |
run: | | |
npm i -g npm@^7.x | |
- name: Install npm dependencies | |
run: | | |
npm ci | |
node node_modules/puppeteer/install.js | |
env: | |
CI: true | |
- name: lint code | |
run: npm run lint | |
env: | |
CI: true | |
- name: compile project | |
run: npm run build | |
env: | |
CI: true | |
- name: run unit tests | |
run: xvfb-run --auto-servernum npm run test:unit | |
env: | |
CI: true | |
- name: run smoke tests | |
run: xvfb-run --auto-servernum npm run test:smoke | |
env: | |
CI: true |