mirror of
https://github.com/tiennm99/claude-code-routine-trigger-worker.git
synced 2026-08-10 08:23:13 +00:00
test: vitest in Workers pool, 12 cases incl token redaction + CI
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
name: ci
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
- run: npm ci
|
||||
- run: npm test
|
||||
- run: npx wrangler deploy --dry-run
|
||||
env:
|
||||
CLOUDFLARE_API_TOKEN: dummy
|
||||
Reference in New Issue
Block a user