mirror of
https://github.com/tiennm99/claude-code-routine-trigger.git
synced 2026-10-04 00:13:20 +00:00
Replace pnpm-lock.yaml with package-lock.json. allowBuilds and pnpm.onlyBuiltDependencies collapse into package.json#allowScripts, which npm 11 gates the same way; sharp is omitted because it is not in the tree. cloudflare-worker/.github/workflows/ci.yml is updated for consistency even though it never runs: GitHub only reads workflows from the repository root.
22 lines
384 B
YAML
22 lines
384 B
YAML
name: ci
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- uses: actions/setup-node@v7
|
|
with:
|
|
node-version: '24'
|
|
cache: 'npm'
|
|
- run: npm ci
|
|
- run: npm test
|
|
- run: npx wrangler deploy --dry-run
|
|
env:
|
|
CLOUDFLARE_API_TOKEN: dummy
|