bump(deps): update actions/setup-node action to v3.8.2 #2096
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: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: Lint - Typescript and ESLint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- run: corepack enable pnpm | |
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2 | |
with: | |
node-version-file: ".nvmrc" | |
cache: pnpm | |
- run: pnpm install --frozen-lockfile | |
- run: npx turbo typecheck | |
- run: npx turbo lint | |
lint_prettier: | |
name: Lint - Prettier | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- run: corepack enable pnpm | |
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2 | |
with: | |
node-version-file: ".nvmrc" | |
cache: pnpm | |
- run: pnpm install --frozen-lockfile | |
- run: npx --no-install prettier --check "apps/**/*.{js,jsx,ts,tsx}" |