Skip to content

Commit 58117f2

Browse files
authored
sync: update CI config files (#219)
1 parent 55d77c0 commit 58117f2

File tree

2 files changed

+23
-11
lines changed

2 files changed

+23
-11
lines changed

.github/workflows/automerge.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# File managed by web3-bot. DO NOT EDIT.
2+
# See https://github.com/protocol/.github/ for details.
3+
14
name: Automerge
25
on: [ pull_request ]
36

.github/workflows/js-test-and-release.yml

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
1+
# File managed by web3-bot. DO NOT EDIT.
2+
# See https://github.com/protocol/.github/ for details.
3+
14
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 }}}
312

413
jobs:
514

615
check:
716
runs-on: ubuntu-latest
817
steps:
918
- uses: actions/checkout@v3
10-
- uses: actions/setup-node@v2
19+
- uses: actions/setup-node@v3
1120
with:
1221
node-version: lts/*
1322
- uses: ipfs/aegir/actions/cache-node-modules@master
@@ -24,7 +33,7 @@ jobs:
2433
fail-fast: true
2534
steps:
2635
- uses: actions/checkout@v3
27-
- uses: actions/setup-node@v2
36+
- uses: actions/setup-node@v3
2837
with:
2938
node-version: ${{ matrix.node }}
3039
- uses: ipfs/aegir/actions/cache-node-modules@master
@@ -38,7 +47,7 @@ jobs:
3847
runs-on: ubuntu-latest
3948
steps:
4049
- uses: actions/checkout@v3
41-
- uses: actions/setup-node@v2
50+
- uses: actions/setup-node@v3
4251
with:
4352
node-version: lts/*
4453
- uses: ipfs/aegir/actions/cache-node-modules@master
@@ -52,7 +61,7 @@ jobs:
5261
runs-on: ubuntu-latest
5362
steps:
5463
- uses: actions/checkout@v3
55-
- uses: actions/setup-node@v2
64+
- uses: actions/setup-node@v3
5665
with:
5766
node-version: lts/*
5867
- uses: ipfs/aegir/actions/cache-node-modules@master
@@ -66,7 +75,7 @@ jobs:
6675
runs-on: ubuntu-latest
6776
steps:
6877
- uses: actions/checkout@v3
69-
- uses: actions/setup-node@v2
78+
- uses: actions/setup-node@v3
7079
with:
7180
node-version: lts/*
7281
- uses: ipfs/aegir/actions/cache-node-modules@master
@@ -80,7 +89,7 @@ jobs:
8089
runs-on: ubuntu-latest
8190
steps:
8291
- uses: actions/checkout@v3
83-
- uses: actions/setup-node@v2
92+
- uses: actions/setup-node@v3
8493
with:
8594
node-version: lts/*
8695
- uses: ipfs/aegir/actions/cache-node-modules@master
@@ -94,7 +103,7 @@ jobs:
94103
runs-on: ubuntu-latest
95104
steps:
96105
- uses: actions/checkout@v3
97-
- uses: actions/setup-node@v2
106+
- uses: actions/setup-node@v3
98107
with:
99108
node-version: lts/*
100109
- uses: ipfs/aegir/actions/cache-node-modules@master
@@ -108,7 +117,7 @@ jobs:
108117
runs-on: ubuntu-latest
109118
steps:
110119
- uses: actions/checkout@v3
111-
- uses: actions/setup-node@v2
120+
- uses: actions/setup-node@v3
112121
with:
113122
node-version: lts/*
114123
- uses: ipfs/aegir/actions/cache-node-modules@master
@@ -120,12 +129,12 @@ jobs:
120129
release:
121130
needs: [test-node, test-chrome, test-chrome-webworker, test-firefox, test-firefox-webworker, test-electron-main, test-electron-renderer]
122131
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 }}}'
124133
steps:
125134
- uses: actions/checkout@v3
126135
with:
127136
fetch-depth: 0
128-
- uses: actions/setup-node@v2
137+
- uses: actions/setup-node@v3
129138
with:
130139
node-version: lts/*
131140
- uses: ipfs/aegir/actions/cache-node-modules@master

0 commit comments

Comments
 (0)