-
-
Notifications
You must be signed in to change notification settings - Fork 0
61 lines (58 loc) · 1.75 KB
/
Copy pathbuild.yml
File metadata and controls
61 lines (58 loc) · 1.75 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: Build the demo apps
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '0 0 * * 0' # Once a week: "At 00:00 on Sunday."
defaults:
run:
shell: pwsh
jobs:
angular-proxy-bypass:
name: angular-proxy-bypass demo
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: angular-proxy-bypass demo
run: |
# This does not test that the code demo does what it should do,
# only that we can build the app
cd "${{ github.workspace }}/code-demos/angular-proxy-bypass"
npm ci
npx ng build --configuration=production
mock-service-worker:
name: mock-service-worker demo
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: mock-service-worker-bypass demo
run: |
# This does not test that the code demo does what it should do,
# only that we can build the app
cd "${{ github.workspace }}/code-demos/mock-service-worker"
npm ci
npx ng build --configuration=production
webpack-dev-server-middleware:
name: webpack-dev-server-middleware demo
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: webpack-dev-server-middleware demo
run: |
# This does not test that the code demo does what it should do,
# only that we can build the app
cd "${{ github.workspace }}/code-demos/webpack-dev-server-middleware"
npm ci
npx ng build --configuration=production