1
0
mirror of https://github.com/uetchy/namae.git synced 2025-09-10 18:16:37 +09:00

GitHub Actions (#2)

* add workflow

* fix: add @master

* fix: test

* fix

* onpush

* fix paths

* add badge
This commit is contained in:
2019-08-14 19:01:21 +09:00
committed by GitHub
parent 03d76805af
commit 6cf66707c2
3 changed files with 35 additions and 0 deletions

16
.github/workflows/api.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: API
on:
push:
paths:
- api/*
pull_request:
paths:
- api/*
jobs:
test:
name: Test Install
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@master
- uses: actions/checkout@master
- run: yarn --cwd api install

17
.github/workflows/web.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: Web App
on:
push:
paths:
- web/*
pull_request:
paths:
- web/*
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@master
- uses: actions/checkout@master
- run: yarn --cwd web install
- run: yarn --cwd web test