File tree 2 files changed +23
-10
lines changed
2 files changed +23
-10
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,18 @@ concurrency:
13
13
cancel-in-progress : false
14
14
15
15
jobs :
16
+ debug :
17
+ name : Debug
18
+ runs-on : self-hosted
19
+
20
+ steps :
21
+ - name : Dump env
22
+ run : env | sort
23
+ - name : Dump GitHub context
24
+ env :
25
+ GITHUB_CONTEXT : ${{ toJson(github) }}
26
+ run : echo "$GITHUB_CONTEXT"
27
+
16
28
lint :
17
29
name : Lint
18
30
timeout-minutes : 10
@@ -24,14 +36,15 @@ jobs:
24
36
with :
25
37
node-version : 18
26
38
27
- - name : Install
39
+ - name : Load cache
28
40
uses : actions/cache@v3
29
41
with :
30
42
path : ~/.npm
31
43
key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
32
44
restore-keys : ${{ runner.os }}-node-
33
45
34
- - run : npm ci
46
+ - name : Install
47
+ run : npm ci
35
48
36
49
- name : Lint
37
50
run : npm run format
@@ -47,16 +60,15 @@ jobs:
47
60
with :
48
61
node-version : 18
49
62
50
- - name : Install
63
+ - name : Load cache
51
64
uses : actions/cache@v3
52
65
with :
53
66
path : ~/.npm
54
67
key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
55
68
restore-keys : ${{ runner.os }}-node-
56
69
57
- - run : npm ci
70
+ - name : Install
71
+ run : npm ci
58
72
59
73
- name : Test
60
74
run : npm run test:cov
61
-
62
- - run : echo "https://github.com/nobkd/replace-maps/archive/refs/tags/${{ github.event.release.tag_name }}.zip"
Original file line number Diff line number Diff line change @@ -20,14 +20,15 @@ jobs:
20
20
with :
21
21
node-version : 18
22
22
23
- - name : Install
23
+ - name : Load cache
24
24
uses : actions/cache@v3
25
25
with :
26
26
path : ~/.npm
27
27
key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
28
28
restore-keys : ${{ runner.os }}-node-
29
29
30
- - run : npm ci
30
+ - name : Install
31
+ run : npm ci
31
32
32
33
- name : Build
33
34
run : npm run build
41
42
42
43
addon-path : " out/replace_maps.zip"
43
44
source-path : " https://github.com/nobkd/replace-maps/archive/refs/tags/${{ github.event.release.tag_name }}.zip"
44
- approval-note : |
45
- Follow the instructions in AMO-README.md
45
+ approval-note : " Follow the instructions in AMO-README.md "
46
+ release-note : ${{ github.event.release.body }}
46
47
auth-api-issuer : ${{ secrets.AUTH_API_ISSUER }}
47
48
auth-api-secret : ${{ secrets.AUTH_API_SECRET }}
48
49
You can’t perform that action at this time.
0 commit comments