Skip to content

Instantly share code, notes, and snippets.

@ekpangmichael
Last active September 25, 2019 18:45
Show Gist options
  • Save ekpangmichael/aeb72bfc9aee7ffb2e0ed2562b6ae813 to your computer and use it in GitHub Desktop.
Save ekpangmichael/aeb72bfc9aee7ffb2e0ed2562b6ae813 to your computer and use it in GitHub Desktop.
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