Merge pull request #2 from spotify/github-actions-setup

chore: add initial workflow for ci
This commit is contained in:
Jefferson Girão
2020-02-03 11:48:20 +01:00
committed by GitHub
+28
View File
@@ -0,0 +1,28 @@
name: Frontend CI
on:
push:
paths:
- 'frontend/**'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [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, build, and test
run: |
yarn install
yarn build --if-present
yarn test
env:
CI: true