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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
- uses: pnpm/action-setup@v4
- uses: pnpm/action-setup@v6
with:
standalone: true
- uses: actions/setup-node@v4
- uses: actions/setup-node@v7
with:
node-version: 24
cache: 'pnpm'
Expand Down
14 changes: 10 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
push:
branches:
- main
# Changes that don't reach the npm package don't publish a new version.
paths-ignore:
- '.github/**'
- 'CLAUDE.md'
jobs:
publish:
runs-on: ubuntu-latest
Expand All @@ -11,16 +15,16 @@ jobs:
packages: write
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
- uses: pnpm/action-setup@v4
- uses: pnpm/action-setup@v6
with:
standalone: true
- uses: actions/setup-node@v4
- uses: actions/setup-node@v7
with:
node-version: 24
# registry-url is required so npm knows the registry for the OIDC exchange.
Expand All @@ -29,7 +33,9 @@ jobs:
# is set on the publish step. (pnpm publish does NOT do this — it uses the
# placeholder and 404s — which is why we publish with npm below.)
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'
# No dependency cache in the release job: a poisoned cache could reach the
# published package (setup-node's cache-poisoning guidance).
package-manager-cache: false
- name: Configure Git
run: |
git config --global user.name 'GitHub Actions'
Expand Down
Loading