File tree Expand file tree Collapse file tree 5 files changed +2327
-1605
lines changed Expand file tree Collapse file tree 5 files changed +2327
-1605
lines changed Original file line number Diff line number Diff line change
1
+ /README.md @ fastly/developer-relations
2
+ /fastly.toml @ fastly/developer-relations
Original file line number Diff line number Diff line change
1
+ on : pull_request
2
+ name : Test
3
+ jobs :
4
+ test :
5
+ strategy :
6
+ matrix :
7
+ platform : [ubuntu-latest]
8
+ runs-on : ${{ matrix.platform }}
9
+ steps :
10
+ - name : Checkout code
11
+ uses : actions/checkout@v3
12
+ - uses : actions/setup-node@v3
13
+ with :
14
+ node-version : ' 18'
15
+ - uses : actions/cache@v3
16
+ with :
17
+ path : ~/.npm
18
+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
19
+ restore-keys : |
20
+ ${{ runner.os }}-node-
21
+ - run : npm ci
22
+ - name : build
23
+ run : npm run build
Original file line number Diff line number Diff line change 1
- # This file describes a Fastly Compute@Edge package. To learn more visit:
2
- # https://developer.fastly.com/reference/fastly-toml/
3
-
4
1
5
2
description = " Park your users in a virtual queue to reduce the demand on your origins during peak times."
6
3
language = " javascript"
@@ -22,12 +19,9 @@ name = "Queuing / Waiting room (JS)"
22
19
[local_server .dictionaries ]
23
20
24
21
[local_server .dictionaries .config ]
25
- file = " devconfig.json"
22
+ file = " devconfig.example. json"
26
23
format = " json"
27
24
28
- [scripts ]
29
- build = " $(npm bin)/webpack && $(npm bin)/js-compute-runtime ./bin/index.js ./bin/main.wasm"
30
-
31
25
[setup ]
32
26
33
27
[setup .backends ]
You can’t perform that action at this time.
0 commit comments