Last active
January 13, 2020 16:41
-
-
Save georgeperry1/76a5fa0d01042cd2a6d7d9e6d72c12c6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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: Production Build | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [8.x, 10.x, 12.x] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Yarn Install | |
run: | | |
yarn install | |
- name: Production Build | |
run: | | |
yarn build | |
- name: Unit Tests | |
run: | | |
yarn test | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment