1
0
mirror of https://github.com/uetchy/namae.git synced 2025-07-02 06:20:02 +09:00

GitHub Actions (#2)

* add workflow

* fix: add @master

* fix: test

* fix

* onpush

* fix paths

* add badge
This commit is contained in:
uetchy 2019-08-14 19:01:21 +09:00 committed by GitHub
parent 03d76805af
commit 6cf66707c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

View File

@ -1,5 +1,7 @@
# namae # namae
[![Actions Status](https://wdp9fww0r9.execute-api.us-west-2.amazonaws.com/production/badge/uetchy/namae](https://wdp9fww0r9.execute-api.us-west-2.amazonaws.com/production/results/uetchy/namae)
> name new project. > name new project.
namae saves your time searching around registries and checking if the desired name is ready for use. namae saves your time searching around registries and checking if the desired name is ready for use.