mirror of
https://github.com/uetchy/namae.git
synced 2025-07-01 22:10:04 +09:00
chore: fix workflow
This commit is contained in:
parent
a8c681689e
commit
d7ab5da417
@ -1,17 +1,24 @@
|
|||||||
name: test
|
name: test
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: Test
|
name: Test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-node@master
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/checkout@master
|
|
||||||
|
- uses: actions/setup-node@v1
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install
|
run: yarn install
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: yarn test
|
run: yarn test
|
||||||
|
|
||||||
- name: Upload coverage
|
- name: Upload coverage
|
||||||
|
if: ${{ github.event_name != 'pull_request' }}
|
||||||
run: |
|
run: |
|
||||||
cat ./coverage/lcov.info | yarn codacy-coverage
|
cat ./coverage/lcov.info | yarn codacy-coverage
|
||||||
env:
|
env:
|
Loading…
x
Reference in New Issue
Block a user