Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,9 @@ jobs:

steps:
- uses: actions/checkout@v6
- name: Install pnpm
uses: pnpm/action-setup@v5
- name: Setup Node
uses: actions/setup-node@v6
- name: Set up pnpm workspace
uses: santi020k/quality/actions/setup-pnpm@eec1701b98bcc0b76d36af288ee78a0369cd84cc # v1
with:
node-version: 22.x
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- name: Run pnpm audit
run: pnpm audit --audit-level=high --ignore-registry-errors
48 changes: 16 additions & 32 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,11 @@ jobs:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v5
- name: Setup Node
uses: actions/setup-node@v6
- name: Set up pnpm workspace
uses: santi020k/quality/actions/setup-pnpm@eec1701b98bcc0b76d36af288ee78a0369cd84cc # v1
with:
node-version: 22.x
cache: 'pnpm'
install: false
- name: Turborepo Cache
uses: actions/cache@v5
with:
Expand Down Expand Up @@ -80,13 +78,11 @@ jobs:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v5
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
- name: Set up pnpm workspace
uses: santi020k/quality/actions/setup-pnpm@eec1701b98bcc0b76d36af288ee78a0369cd84cc # v1
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
install: false
- name: Turborepo Cache
uses: actions/cache@v5
with:
Expand Down Expand Up @@ -139,13 +135,11 @@ jobs:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v5
- name: Setup Node
uses: actions/setup-node@v6
- name: Set up pnpm workspace
uses: santi020k/quality/actions/setup-pnpm@eec1701b98bcc0b76d36af288ee78a0369cd84cc # v1
with:
node-version: 22.x
cache: 'pnpm'
install: false
- name: Turborepo Cache
uses: actions/cache@v5
with:
Expand Down Expand Up @@ -180,13 +174,11 @@ jobs:

steps:
- uses: actions/checkout@v6
- name: Install pnpm
uses: pnpm/action-setup@v5
- name: Setup Node
uses: actions/setup-node@v6
- name: Set up pnpm workspace
uses: santi020k/quality/actions/setup-pnpm@eec1701b98bcc0b76d36af288ee78a0369cd84cc # v1
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
install: false
- name: Setup Bun
if: matrix.manager == 'bun'
uses: oven-sh/setup-bun@v2
Expand Down Expand Up @@ -214,14 +206,10 @@ jobs:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v5
- name: Setup Node
uses: actions/setup-node@v6
- name: Set up pnpm workspace
uses: santi020k/quality/actions/setup-pnpm@eec1701b98bcc0b76d36af288ee78a0369cd84cc # v1
with:
node-version: 22.x
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- name: Run final release gate once
run: pnpm run release:check

Expand All @@ -235,14 +223,10 @@ jobs:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v5
- name: Setup Node
uses: actions/setup-node@v6
- name: Set up pnpm workspace
uses: santi020k/quality/actions/setup-pnpm@eec1701b98bcc0b76d36af288ee78a0369cd84cc # v1
with:
node-version: 22.x
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- name: Build CLI dependencies (serialised to avoid native-binary contention on Windows)
run: pnpm exec turbo run build --filter=@santi020k/eslint-config-basic --concurrency=1 --output-logs=new-only
- name: Run CLI and detection tests on Windows
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/changeset-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,10 @@ jobs:
with:
fetch-depth: 0

- name: Install pnpm
uses: pnpm/action-setup@v5

- name: Setup Node
uses: actions/setup-node@v6
- name: Set up pnpm workspace
uses: santi020k/quality/actions/setup-pnpm@eec1701b98bcc0b76d36af288ee78a0369cd84cc # v1
with:
node-version: 22.x
cache: 'pnpm'

- run: pnpm install --frozen-lockfile

- name: Assert changeset present
run: pnpm exec changeset status --since=origin/main
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,11 @@ jobs:
# workflow_run events expose the triggering commit on a different context key.
ref: ${{ github.event.workflow_run.head_sha || github.sha }}

- name: Install pnpm
uses: pnpm/action-setup@v5

- name: Setup Node
uses: actions/setup-node@v6
- name: Set up pnpm workspace
uses: santi020k/quality/actions/setup-pnpm@eec1701b98bcc0b76d36af288ee78a0369cd84cc # v1
with:
node-version: 22
cache: 'pnpm'
install: false

- name: Turborepo Cache
uses: actions/cache@v5
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/playground.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,11 @@ jobs:
with:
fetch-depth: 0

- name: Install pnpm
uses: pnpm/action-setup@v5

- name: Setup Node
uses: actions/setup-node@v6
- name: Set up pnpm workspace
uses: santi020k/quality/actions/setup-pnpm@eec1701b98bcc0b76d36af288ee78a0369cd84cc # v1
with:
node-version: 22.x
cache: 'pnpm'
install: false

- name: Turborepo Cache
uses: actions/cache@v5
Expand Down
15 changes: 2 additions & 13 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,10 @@ jobs:
with:
fetch-depth: 0

- name: Install pnpm
uses: pnpm/action-setup@v5

- name: Setup Node.js
uses: actions/setup-node@v6
- name: Set up pnpm workspace
uses: santi020k/quality/actions/setup-pnpm@eec1701b98bcc0b76d36af288ee78a0369cd84cc # v1
with:
node-version: 22.x
cache: pnpm

- name: Install dependencies
run: pnpm install --frozen-lockfile

# This action only versions packages and manages changeset-release/main.
# Publishing is deliberately isolated in release.yml and requires that
# release pull request to be merged.
- name: Create or update Changesets release pull request
uses: changesets/action@v2.1.2
with:
Expand Down
13 changes: 3 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,12 @@ jobs:
fetch-depth: 0
ref: ${{ github.event.pull_request.merge_commit_sha }}

- name: Install pnpm
uses: pnpm/action-setup@v5

- name: Setup Node.js
uses: actions/setup-node@v6
- name: Set up pnpm workspace
uses: santi020k/quality/actions/setup-pnpm@eec1701b98bcc0b76d36af288ee78a0369cd84cc # v1
with:
node-version: 22.x
registry-url: "https://registry.npmjs.org"
cache: "pnpm"

# Node 22 currently bundles npm 10, while npm trusted publishing requires
# npm 11.5.1 or newer. Keep the release runtime on Node 22 and install the
# latest npm 11 release that supports it before invoking Changesets.
install: false
- name: Install OIDC-capable npm
run: npm install --global npm@11.20.0

Expand Down
Loading