Skip to content

Replace Travis CI with Github Actions #3

Replace Travis CI with Github Actions

Replace Travis CI with Github Actions #3

Workflow file for this run

name: Lint and Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10, 12, 14]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Setup Chrome
uses: browser-actions/setup-chrome@latest
with:
chrome-version: stable
- name: Install dependencies
run: npm install
- name: Run ESLint and tests
run: npm test
env:
CHROME_BIN: chrome