chore(actions): bump github/codeql-action from 3.25.12 to 3.25.13 #760
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: | |
merge_group: | |
pull_request: | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: read-all | |
jobs: | |
commitlint: | |
name: Commit | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1 | |
with: | |
egress-policy: audit | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
with: | |
fetch-depth: 0 | |
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 | |
name: Install pnpm | |
with: | |
version: 8 | |
- name: Install with pnpm | |
run: pnpm install --frozen-lockfile | |
- name: Check commit message | |
uses: wagoid/commitlint-github-action@7f0a61df502599e1f1f50880aaa7ec1e2c0592f2 # v6.0.1 | |
with: | |
configFile: commitlint.config.cjs | |
failOnWarnings: false | |
helpURL: https://github.com/ducktors/turborepo-remote-cache#how-to-commit | |
install: | |
runs-on: ${{ matrix.os }} | |
name: Install | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x] | |
os: [ubuntu-latest, macos-latest] | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
name: Checkout | |
- name: Use Node.js | |
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install with npm | |
run: | | |
cd ${{ github.workspace }} | |
mkdir npm-repro | |
cd npm-repro | |
npm init -y | |
npm install turborepo-remote-cache | |
- name: Install with yarn | |
run: | | |
cd ${{ github.workspace }} | |
mkdir yarn-repro | |
cd yarn-repro | |
npm init -y | |
yarn add turborepo-remote-cache | |
build: | |
runs-on: ${{ matrix.os }} | |
name: Build | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x] | |
os: [ubuntu-latest] | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
name: Checkout | |
- name: Use Node.js | |
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 | |
name: Install pnpm | |
with: | |
version: 8 | |
- name: Install with pnpm | |
run: pnpm install | |
- name: Lint code | |
run: pnpm lint | |
- name: Build | |
run: pnpm build |