1
0
mirror of synced 2025-12-07 22:18:17 +08:00

chore: use github action

This commit is contained in:
redhoodsu
2022-04-03 23:54:58 +08:00
parent fedc2944b6
commit 7bc8ec2bb5
3 changed files with 30 additions and 4 deletions

26
.github/workflows/main.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: CI
on:
- push
- pull_request
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: |
npm install -g codecov
npm install -g @liriliri/lsla
npm run ci
codecov --disable=gcov