mirror of
https://github.com/liriliri/eruda.git
synced 2026-03-20 09:38:37 +08:00
28 lines
463 B
YAML
28 lines
463 B
YAML
name: CI
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
paths:
|
|
- 'src/**/*'
|
|
- 'test/**/*'
|
|
|
|
jobs:
|
|
ci:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '18.x'
|
|
- run: |
|
|
npm install -g @liriliri/lsla
|
|
npm i
|
|
npm run ci
|
|
- uses: codecov/codecov-action@v4
|
|
with:
|
|
token: ${{ secrets.CODECOV_TOKEN }} |