Files
qb-web/.github/workflows/test.yml
2024-01-29 14:36:22 +08:00

19 lines
376 B
YAML

name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '16'
- run: |
corepack enable
yarn install --frozen-lockfile
- run: yarn run lint --no-fix --max-warnings 0
- run: yarn run test:unit