-
Notifications
You must be signed in to change notification settings - Fork 54
38 lines (34 loc) · 908 Bytes
/
Copy pathshortwave.yml
File metadata and controls
38 lines (34 loc) · 908 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Shortwave checks
on:
pull_request:
paths:
- 'applications/shortwave/**'
- '.github/workflows/shortwave.yml'
push:
branches: [main]
paths:
- 'applications/shortwave/**'
- '.github/workflows/shortwave.yml'
workflow_dispatch:
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
defaults:
run:
working-directory: applications/shortwave
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22.23.2
cache: npm
cache-dependency-path: applications/shortwave/package-lock.json
- run: npm ci
- run: npm test
- run: npm run types:workers
- run: npm run typecheck
- run: npm run build:workers
- run: npx wrangler deploy --dry-run
# Live Cloud and browser acceptance is a separate, explicitly configured run.