Skip to content

Bump actions/setup-node from 6.1.0 to 6.3.0 #64

Bump actions/setup-node from 6.1.0 to 6.3.0

Bump actions/setup-node from 6.1.0 to 6.3.0 #64

Workflow file for this run

name: Pull Request Checks
on:
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint-and-build:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
checks: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
submodules: recursive
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # 6.3.0
with:
node-version: "22"
- name: Enable Corepack
run: corepack enable
- name: Install dependencies
run: yarn install
- name: Apply patches
run: |
cd packages/paradigm
bash scripts/patch-if-present.sh
- name: Typecheck client
uses: EPMatt/reviewdog-action-tsc@63d923a3c5b4497671940b8874f58a404e2351b5 # 1.11.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
level: error
fail_level: error
workdir: apps/client
tsc_flags: "-p tsconfig.json --noEmit"
- name: Typecheck server
uses: EPMatt/reviewdog-action-tsc@63d923a3c5b4497671940b8874f58a404e2351b5 # 1.11.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
level: error
fail_level: error
workdir: apps/server
tsc_flags: "-p tsconfig.json --noEmit"
- name: Lint server (ESLint)
uses: reviewdog/action-eslint@556a3fdaf8b4201d4d74d406013386aa4f7dab96 # 1.34.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
eslint_flags: "src/**/*.mts"
workdir: apps/server
fail_level: any
- name: Lint client (Biome)
uses: mongolyy/reviewdog-action-biome@abafdf75a79678ef8e2715298ee2dfc12262c82f #2.7.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
workdir: apps/client
fail_level: any
- name: Run tests
run: yarn test