File tree 3 files changed +19
-7
lines changed
3 files changed +19
-7
lines changed Original file line number Diff line number Diff line change 9
9
required : true
10
10
11
11
env :
12
- node_version : 16
12
+ node_version : lts/*
13
+ FORCE_COLOR : 2
14
+
15
+ concurrency : # prevent concurrent releases
16
+ group : npm-bump
17
+ cancel-in-progress : true
13
18
14
19
jobs :
15
20
version_and_release :
16
21
runs-on : ubuntu-latest
17
22
steps :
18
- - uses : actions/checkout@v2.4.0
23
+ - uses : actions/checkout@v2
19
24
with :
20
25
# fetch full history so things like auto-changelog work properly
21
26
fetch-depth : 0
22
27
- name : Use Node.js ${{ env.node_version }}
23
- uses : actions/setup-node@v2.5.1
28
+ uses : actions/setup-node@v2
24
29
with :
25
30
node-version : ${{ env.node_version }}
26
31
# setting a registry enables the NODE_AUTH_TOKEN env variable where we can set an npm token. REQUIRED
Original file line number Diff line number Diff line change @@ -2,19 +2,22 @@ name: tests
2
2
3
3
on : [pull_request, push]
4
4
5
+ env :
6
+ FORCE_COLOR : 2
7
+
5
8
jobs :
6
9
test :
7
10
runs-on : ${{ matrix.os }}
8
11
9
12
strategy :
10
13
matrix :
11
14
os : [ubuntu-latest]
12
- node : [16 ]
15
+ node : [lts/* ]
13
16
14
17
steps :
15
- - uses : actions/checkout@v2.4.0
18
+ - uses : actions/checkout@v2
16
19
- name : Use Node.js ${{ matrix.node-version }}
17
- uses : actions/setup-node@v2.5.1
20
+ uses : actions/setup-node@v2
18
21
with :
19
22
node-version : ${{ matrix.node-version }}
20
23
- run : npm i
23
26
automerge :
24
27
needs : test
25
28
runs-on : ubuntu-latest
29
+ permissions :
30
+ pull-requests : write
31
+ contents : write
26
32
steps :
27
- - uses : fastify/github-action-merge-dependabot@v2.7.1
33
+ - uses : fastify/github-action-merge-dependabot@v3.0.2
28
34
if : ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' && contains(github.head_ref, 'dependabot/github_actions') }}
29
35
with :
30
36
github-token : ${{secrets.github_token}}
Original file line number Diff line number Diff line change 4
4
.vscode
5
5
build
6
6
package-lock.json
7
+ sandbox.js
You can’t perform that action at this time.
0 commit comments