Pin dependencies #2
Workflow file for this run
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: QA | |
on: | |
pull_request: | |
push: | |
jobs: | |
qa: | |
name: Run QA | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: Select NodeJS version | |
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4 | |
with: | |
# renovate: datasource=docker depName=node versioning=node | |
node-version: "20.9.0" | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Install dependencies | |
run: yarn install | |
# Pre-build QA | |
- name: Check constraints | |
run: yarn constraints | |
# Build | |
- name: Build | |
run: yarn build | |
# Post-build QA | |
- name: Lint ESLint | |
run: yarn lint:eslint | |
- name: Lint Prettier | |
run: yarn lint:prettier | |
- name: Lint TSC | |
run: yarn lint:tsc |