Moves to GitHub Actions

This commit is contained in:
sobolevn
2021-06-08 10:19:16 +03:00
parent 16df3aaa9a
commit 1c73bd4ed7
3 changed files with 223 additions and 248 deletions
+30
View File
@@ -0,0 +1,30 @@
name: test
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
- name: Set up cache
uses: actions/cache@v2
with:
path: node_modules
key: env-${{ hashFiles('yarn.lock') }}
- name: "Install deps"
run: yarn install
- name: "Test"
run: yarn test