chore(deps): bump cookie and karma #92
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: Test | |
on: | |
push: | |
branches-ignore: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
linux: | |
name: "Node ${{ matrix.node }} on Linux: Test and Lint" | |
runs-on: ubuntu-latest | |
env: | |
DISPLAY: ":0" | |
strategy: | |
matrix: | |
node: | |
- 10 | |
- 12 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: npm | |
- uses: browser-actions/setup-firefox@latest | |
with: | |
firefox-version: "latest" | |
- run: | | |
sudo apt-get install xvfb && \ | |
Xvfb $DISPLAY &> /dev/null & | |
- run: npm ci | |
- run: | | |
npm run commitlint -- \ | |
--verbose \ | |
--from `git merge-base origin/master $GITHUB_SHA` | |
- run: npm run lint | |
- run: npm run test | |
- run: npm run examples | |
windows: | |
name: "Node ${{ matrix.node }} on Windows: Test and Lint" | |
runs-on: windows-latest | |
defaults: | |
run: | |
shell: bash | |
strategy: | |
matrix: | |
node: | |
- 10 | |
- 12 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: npm | |
- run: npm ci | |
- run: npm run test | |
- run: npm run examples |