Skip to content

using new Chrome headless mode for tests (mostly because the annoying message, but also because it will be the default soon) #136

using new Chrome headless mode for tests (mostly because the annoying message, but also because it will be the default soon)

using new Chrome headless mode for tests (mostly because the annoying message, but also because it will be the default soon) #136

Workflow file for this run

name: CI
on:
push:
pull_request:
branches: [master]
env:
FORCE_COLOR: 1
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3.8.1
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm run lint
- run: npm test
- run: npm pack --dry-run
- run: npm publish
if: startsWith(github.ref, 'refs/tags/') && github.event_name != 'pull_request'
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
- uses: actions/upload-artifact@v3
if: ${{ failure() }}
with:
name: test-screenshots
path: shots/