1
+ # File managed by web3-bot. DO NOT EDIT.
2
+ # See https://github.com/protocol/.github/ for details.
3
+
1
4
name : test & maybe release
2
- on : [push, pull_request]
5
+ on :
6
+ push :
7
+ branches :
8
+ - master # with #262 - ${{{ github.default_branch }}}
9
+ pull_request :
10
+ branches :
11
+ - master # with #262 - ${{{ github.default_branch }}}
3
12
4
13
jobs :
5
14
6
15
check :
7
16
runs-on : ubuntu-latest
8
17
steps :
9
18
- uses : actions/checkout@v3
10
- - uses : actions/setup-node@v2
19
+ - uses : actions/setup-node@v3
11
20
with :
12
21
node-version : lts/*
13
22
- uses : ipfs/aegir/actions/cache-node-modules@master
24
33
fail-fast : true
25
34
steps :
26
35
- uses : actions/checkout@v3
27
- - uses : actions/setup-node@v2
36
+ - uses : actions/setup-node@v3
28
37
with :
29
38
node-version : ${{ matrix.node }}
30
39
- uses : ipfs/aegir/actions/cache-node-modules@master
38
47
runs-on : ubuntu-latest
39
48
steps :
40
49
- uses : actions/checkout@v3
41
- - uses : actions/setup-node@v2
50
+ - uses : actions/setup-node@v3
42
51
with :
43
52
node-version : lts/*
44
53
- uses : ipfs/aegir/actions/cache-node-modules@master
52
61
runs-on : ubuntu-latest
53
62
steps :
54
63
- uses : actions/checkout@v3
55
- - uses : actions/setup-node@v2
64
+ - uses : actions/setup-node@v3
56
65
with :
57
66
node-version : lts/*
58
67
- uses : ipfs/aegir/actions/cache-node-modules@master
66
75
runs-on : ubuntu-latest
67
76
steps :
68
77
- uses : actions/checkout@v3
69
- - uses : actions/setup-node@v2
78
+ - uses : actions/setup-node@v3
70
79
with :
71
80
node-version : lts/*
72
81
- uses : ipfs/aegir/actions/cache-node-modules@master
80
89
runs-on : ubuntu-latest
81
90
steps :
82
91
- uses : actions/checkout@v3
83
- - uses : actions/setup-node@v2
92
+ - uses : actions/setup-node@v3
84
93
with :
85
94
node-version : lts/*
86
95
- uses : ipfs/aegir/actions/cache-node-modules@master
94
103
runs-on : ubuntu-latest
95
104
steps :
96
105
- uses : actions/checkout@v3
97
- - uses : actions/setup-node@v2
106
+ - uses : actions/setup-node@v3
98
107
with :
99
108
node-version : lts/*
100
109
- uses : ipfs/aegir/actions/cache-node-modules@master
@@ -108,7 +117,7 @@ jobs:
108
117
runs-on : ubuntu-latest
109
118
steps :
110
119
- uses : actions/checkout@v3
111
- - uses : actions/setup-node@v2
120
+ - uses : actions/setup-node@v3
112
121
with :
113
122
node-version : lts/*
114
123
- uses : ipfs/aegir/actions/cache-node-modules@master
@@ -120,12 +129,12 @@ jobs:
120
129
release :
121
130
needs : [test-node, test-chrome, test-chrome-webworker, test-firefox, test-firefox-webworker, test-electron-main, test-electron-renderer]
122
131
runs-on : ubuntu-latest
123
- if : github.event_name == 'push' && github.ref == 'refs/heads/master'
132
+ if : github.event_name == 'push' && github.ref == 'refs/heads/master' # with #262 - 'refs/heads/${{{ github.default_branch }}}'
124
133
steps :
125
134
- uses : actions/checkout@v3
126
135
with :
127
136
fetch-depth : 0
128
- - uses : actions/setup-node@v2
137
+ - uses : actions/setup-node@v3
129
138
with :
130
139
node-version : lts/*
131
140
- uses : ipfs/aegir/actions/cache-node-modules@master
0 commit comments