Created
May 20, 2020 16:39
-
-
Save brygrill/fecef6114074067545ff910b0d815f8c to your computer and use it in GitHub Desktop.
Github Actions to lint, test, and build app
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: | |
build: | |
name: Build | |
runs-on: ubuntu-18.04 | |
strategy: | |
matrix: | |
node_version: [14] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js ${{ matrix.node_version }} | |
uses: actions/setup-node@v1 | |
with: | |
node_version: ${{ matrix.node_version }} | |
- name: run CI | |
run: | | |
npm install # or yarn install | |
npm run lint # or yarn lint | |
npm run test # or yarn test | |
npm run build # or yarn build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment