chore(deps): update github/codeql-action digest to f09c1c0 #784
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: Continuous Integration | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
Linting: | |
name: Linting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Add problem matcher | |
run: echo "::add-matcher::.github/problemMatchers/eslint.json" | |
- name: Use Node.js v20 | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4 | |
with: | |
node-version: 20 | |
cache: yarn | |
registry-url: https://registry.npmjs.org/ | |
- name: Install Dependencies | |
run: yarn --immutable | |
- name: Run ESLint | |
run: yarn lint --fix=false | |
Building: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [16, 18, 20, 21, 22] | |
fail-fast: false | |
env: | |
YARN_IGNORE_NODE: 1 | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Add problem matcher | |
run: echo "::add-matcher::.github/problemMatchers/tsc.json" | |
- name: Use Node.js v{{ matrix.node }} | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: yarn | |
registry-url: https://registry.npmjs.org/ | |
- name: Install Dependencies | |
run: yarn --immutable | |
- name: Build Code | |
run: yarn build | |
- name: Run TypeCheck | |
if: ${{ matrix.node == 22 }} | |
run: yarn typecheck | |
- name: Test Code | |
run: yarn test |