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: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,12 @@ jobs:
node-version: 20
cache: npm

# `npm install` (not `npm ci`): the lockfile is generated on macOS, and npm's
# optional-dependency handling omits Linux-only native binaries (esbuild/rollup),
# which makes `npm ci` fail on CI's Linux runner. `npm install` fetches the right
# platform binaries for the runner. See npm/cli#4828.
- name: Install
run: npm ci
run: npm install --no-audit --no-fund

- name: Lint
run: npm run lint
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ jobs:
node-version: 20
cache: npm

# `npm install` (not `npm ci`): the lockfile is generated on macOS and omits
# Linux-only native binaries (esbuild/rollup) that `npm ci` demands on the Linux
# runner. `npm install` fetches the correct platform binaries. See npm/cli#4828.
- name: Install
run: npm ci
run: npm install --no-audit --no-fund

# A single deploy: ships the Worker + the static frontend (Workers Static Assets).
- name: Deploy Worker + Assets
Expand Down
Loading
Loading