File tree Expand file tree Collapse file tree 1 file changed +16
-9
lines changed Expand file tree Collapse file tree 1 file changed +16
-9
lines changed Original file line number Diff line number Diff line change 1
1
name : CI
2
2
on :
3
- - push
4
- - pull_request
3
+ pull_request :
4
+ push :
5
+ branches :
6
+ - master
5
7
6
8
defaults :
7
9
run :
@@ -21,15 +23,20 @@ jobs:
21
23
# - windows-latest
22
24
atom_channel : [stable, beta]
23
25
steps :
24
- - uses : actions/checkout@v3
25
- - uses : UziTech/action- setup-atom@v1
26
+ - name : Install Node
27
+ uses : actions/ setup-node@v3
26
28
with :
27
- channel : ${{ matrix.atom_channel }}
28
- - name : Versions
29
- run : apm -v
30
- - name : Install APM dependencies
29
+ node-version : 12
30
+ architecture : x64
31
+
32
+ - name : Setup pnpm
33
+ uses : pnpm/action-setup@v2
34
+ with :
35
+ version : 6
36
+
37
+ - name : Install and build
31
38
run : |
32
- apm install
39
+ pnpm install
33
40
34
41
Lint :
35
42
if : " !contains(github.event.head_commit.message, '[skip ci]')"
You can’t perform that action at this time.
0 commit comments