Create github actions
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
name: Build
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build and test
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v1
|
||||
|
||||
- name: Install
|
||||
run: yarn --frozen-lockfile --non-interactive
|
||||
|
||||
- name: Test
|
||||
run: yarn test
|
||||
Reference in New Issue
Block a user