1
0
mirror of https://github.com/uetchy/namae.git synced 2025-03-18 04:50:32 +09:00

21 lines
439 B
YAML
Raw Normal View History

name: API
on:
push:
paths:
- api/*
pull_request:
paths:
- api/*
jobs:
test:
2019-08-14 19:55:28 +09:00
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@master
- uses: actions/checkout@master
2019-08-14 19:55:28 +09:00
- run: yarn --cwd api install
- run: yarn --cwd api test
- run: cat ./api/coverage/lcov.info | npx codacy-coverage
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}