docs: 更新 README 中官网链接至 GitHub Wiki #661
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: Test | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| tags-ignore: | |
| - '**' | |
| pull_request: null | |
| workflow_call: null | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - macos-latest | |
| - windows-latest | |
| node: | |
| - 10 | |
| - 12 | |
| - 14 | |
| # - 16 | |
| architecture: | |
| - x64 | |
| # an extra windows-x86 run: | |
| include: | |
| - os: windows-latest | |
| node: 14 | |
| architecture: x86 | |
| name: Node ${{ matrix.node }} - ${{ matrix.architecture }} on ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| architecture: ${{ matrix.architecture }} | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm i && npm run bootstrap | |
| env: | |
| CI: true | |
| - name: Test | |
| run: npm run test | |
| env: | |
| CI: true | |
| commitlint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| fetch-depth: 0 | |
| - uses: wagoid/commitlint-github-action@v2 |