CI #401
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
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/configuring-a-workflow | |
name: CI | |
on: | |
push: | |
branches-ignore: | |
- master # pushes to "master" are handled by the CD workflow | |
jobs: | |
ci_run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Set up node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '12.16' | |
- name: Install dependencies | |
run: npm install | |
- name: Run lint | |
run: npm run lint | |
- name: Run tests | |
run: CI=1 npm test |