fix: 修复 tsc 异常;修复 jira check 多次执行格式重复处理的问题 #180
This file contains 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: 'Tests' | |
on: | |
push: | |
branches: | |
- '**' | |
paths-ignore: | |
- README.md | |
- CONTRIBUTING.md | |
- preset | |
- .vscode | |
- test | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
continue-on-error: ${{ matrix.os != 'windows-latest' }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- windows-latest | |
node-version: | |
- 18 | |
include: | |
- node-version: 20 | |
os: ubuntu-latest | |
- node-version: 22 | |
os: ubuntu-latest | |
name: Node ${{ matrix.node-version }} on ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
# cache: 'pnpm' | |
- run: pnpm install | |
- run: pnpm test |