File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ push :
5+ branches : [ "v*", "master" ]
6+ tags : [ "v*" ]
7+ pull_request :
8+ branches : [ "v*", "master" ]
9+
10+ permissions :
11+ contents : read
12+
13+ jobs :
14+ build :
15+ name : Build Peacock
16+ runs-on : ubuntu-latest
17+
18+ steps :
19+ - name : Harden the runner (Audit all outbound calls)
20+ uses : step-security/harden-runner@ab7a9404c0f3da075243ca237b5fac12c98deaa5 # v2.19.3
21+ with :
22+ egress-policy : audit
23+
24+ - name : Checkout repository
25+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
26+ with :
27+ persist-credentials : false
28+
29+ - name : Setup Node
30+ uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.0.0
31+ with :
32+ node-version-file : .nvmrc
33+ cache : yarn
34+
35+ - name : Enable Corepack
36+ run : corepack enable
37+
38+ - name : Install dependencies
39+ run : yarn install --immutable
40+
41+ - name : Build Modules
42+ run : yarn build
43+
44+ - name : Optimize
45+ run : yarn optimize
46+
47+ - name : Download Node.js (Windows)
48+ run : |
49+ curl https://nodejs.org/dist/$(cat .nvmrc)/node-$(cat .nvmrc)-win-x64.zip -o node.zip
50+ unzip node.zip
51+ mkdir nodedist
52+ cp node-$(cat .nvmrc)-win-x64/node.exe nodedist/node.exe
53+ cp node-$(cat .nvmrc)-win-x64/LICENSE nodedist/LICENSE
54+
55+ - name : Assemble Full (Windows)
56+ run : ./packaging/ciAssemble.sh
57+
58+ - name : Assemble Linux
59+ run : ./packaging/ciAssemble.sh linux
60+
61+ - name : Upload Peacock Release
62+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.0
63+ with :
64+ name : Peacock-Release
65+ path : Peacock-v*.zip
66+
67+ - name : Upload SourceMap
68+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.0
69+ with :
70+ name : SourceMap
71+ path : chunk0.js.map
Original file line number Diff line number Diff line change 1+ name : Tests
2+
3+ on :
4+ push :
5+ branches : [ "v*", "master" ]
6+ pull_request :
7+ branches : [ "v*", "master" ]
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+ typecheck :
14+ name : Type Check
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - name : Harden the runner (Audit all outbound calls)
19+ uses : step-security/harden-runner@ab7a9404c0f3da075243ca237b5fac12c98deaa5 # v2.19.3
20+ with :
21+ egress-policy : audit
22+
23+ - name : Checkout repository
24+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
25+ with :
26+ persist-credentials : false
27+
28+ - name : Setup Node
29+ uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.0.0
30+ with :
31+ node-version-file : .nvmrc
32+ cache : yarn
33+
34+ - name : Enable Corepack
35+ run : corepack enable
36+
37+ - name : Install dependencies
38+ run : yarn install --immutable
39+
40+ - name : Type Check
41+ run : yarn typecheck
42+
43+ tests :
44+ name : Tests
45+ runs-on : ubuntu-latest
46+
47+ steps :
48+ - name : Harden the runner (Audit all outbound calls)
49+ uses : step-security/harden-runner@ab7a9404c0f3da075243ca237b5fac12c98deaa5 # v2.19.3
50+ with :
51+ egress-policy : audit
52+
53+ - name : Checkout repository
54+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
55+ with :
56+ persist-credentials : false
57+
58+ - name : Setup Node
59+ uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.0.0
60+ with :
61+ node-version-file : .nvmrc
62+ cache : yarn
63+
64+ - name : Enable Corepack
65+ run : corepack enable
66+
67+ - name : Install dependencies
68+ run : yarn install --immutable
69+
70+ - name : Lint
71+ run : |
72+ yarn lint
73+ yarn prettier:check
74+
75+ - name : Build
76+ run : yarn build
77+
78+ - name : Test
79+ run : yarn test:main
You can’t perform that action at this time.
0 commit comments