Last active
September 25, 2019 18:45
-
-
Save ekpangmichael/aeb72bfc9aee7ffb2e0ed2562b6ae813 to your computer and use it in GitHub Desktop.
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: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [10.x, 8.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: yarn test | |
run: | | |
yarn test | |
env: | |
CI: true | |
- name: yarn build | |
run: | | |
yarn run build --if-present |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment