From 261af1f51f629b89b3beedd71709c60610243aa0 Mon Sep 17 00:00:00 2001 From: Yasuaki Uechi Date: Tue, 5 Nov 2019 18:54:14 +0900 Subject: [PATCH] chore: fix ci env --- .github/workflows/web.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml index e9fb036..1e00062 100644 --- a/.github/workflows/web.yml +++ b/.github/workflows/web.yml @@ -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 }}