chore(deps): bump github/codeql-action from 2 to 3 #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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
permissions: | |
actions: read | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
env: | |
NEXT_PUBLIC_TURNSTILE_SITEKEY: 'e2e-sitekey' | |
GIT_COMMIT_SHA: ${{ github.sha }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: .nvmrc | |
cache: 'pnpm' | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Setup dependencies | |
run: pnpm install --frozen-lockfile | |
# Install Cypress dependencies | |
- run: pnpm cypress install --force | |
- uses: nrwl/nx-set-shas@v4 | |
- run: pnpm exec nx affected --parallel 3 --target lint test build | |
- run: pnpm exec nx affected --parallel 1 --target e2e-ci |