Last active
January 28, 2020 07:31
-
-
Save crrmacarse/44de6538aaa375a917423a3054e14b7e to your computer and use it in GitHub Desktop.
CI config for http://crrmacarse.github.io/
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: CI | |
on: [push] | |
jobs: | |
test: | |
name: Test on node ${{ matrix.node }} and ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node: [8, 10, 12] | |
os: [ubuntu-latest, macOS-latest] # windows-latest -- removed due to lF/CRLF eslint | |
steps: | |
- uses: actions/checkout@v2.0.0 | |
- name: Use node ${{ matrix.node }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node }} | |
registry-url: https://registry.npmjs.org | |
- name: install | |
run: npm install | |
- name: lint | |
run: npm run lint:prod | |
- name: build | |
run: npm run prod | |
- name: test | |
run: npm test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment