Update github/codeql-action digest to 5c8a8a6 #173
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: Test | |
| on: | |
| push: | |
| paths-ignore: | |
| - 'docs/**' | |
| - '*.md' | |
| # schedule: | |
| # - cron: 0 20 * * * | |
| jobs: | |
| test: | |
| name: test on ${{ matrix.os-release }} node@${{ matrix.node-version }} | |
| runs-on: ${{ matrix.os-release }} | |
| strategy: | |
| matrix: | |
| node-version: | |
| - 20 | |
| - 21 | |
| # - 22 | |
| os-release: | |
| - ubuntu-latest | |
| - windows-latest | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - run: npm ci | |
| - run: npm run test:unit | |
| coverage: | |
| name: collect coverage | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 | |
| with: | |
| node-version-file: package.json | |
| - run: npm ci | |
| - run: npm run test:unit | |
| - uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| flags: unit | |
| # - run: rm -rf coverage | |
| # - run: npm run test:integration | |
| # - uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3 | |
| # with: | |
| # token: ${{ secrets.CODECOV_TOKEN }} | |
| # flags: integration |