mirror of
https://github.com/uetchy/namae.git
synced 2025-03-17 04:30:31 +09:00
22 lines
466 B
YAML
22 lines
466 B
YAML
name: Web
|
|
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
|
|
- run: cat ./web/coverage/lcov.info | npx codacy-coverage
|
|
env:
|
|
CI: true
|
|
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
|