1
0
mirror of https://github.com/uetchy/namae.git synced 2025-03-17 04:30:31 +09:00

chore: fix ci env

This commit is contained in:
uetchy 2019-11-05 18:54:14 +09:00
parent 2fc4d94779
commit 261af1f51f

View File

@ -13,9 +13,13 @@ jobs:
steps:
- uses: actions/setup-node@master
- uses: actions/checkout@master
- run: yarn --cwd web install
- run: yarn --cwd web test
- run: cat ./web/coverage/lcov.info | npx codacy-coverage
- name: Install dependencies
run: yarn --cwd web install
- name: Test
run: CI=true yarn --cwd web test
env:
CI: true
- name: Upload coverage
run: cat ./web/coverage/lcov.info | npx codacy-coverage
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}