v1.4:版本号单源 + CI + PWA + 报告导出图片 + 历史趋势 + Custom yaw + 软著材料 #2
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| pull_request: | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Lint | |
| run: npm ci && npm run lint | |
| - name: Smoke tests | |
| run: node test/smoke.cjs | |
| - name: Flow tests | |
| run: node test/flow.cjs |