File tree Expand file tree Collapse file tree 2 files changed +22
-10
lines changed Expand file tree Collapse file tree 2 files changed +22
-10
lines changed Original file line number Diff line number Diff line change @@ -3,18 +3,24 @@ name: Linting
3
3
on :
4
4
push :
5
5
branches :
6
- - main
6
+ - master
7
7
tags :
8
8
- ' *'
9
9
pull_request :
10
10
branches :
11
- - main
11
+ - master
12
12
13
13
permissions :
14
14
contents : read
15
15
16
- # FIXME Replace with socketr.dev one
16
+ concurrency :
17
+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
18
+ cancel-in-progress : true
19
+
17
20
jobs :
18
- lint :
19
- # FIXME Replace with socket.dev one
20
- uses : voxpelli/ghatemplates/.github/workflows/lint.yml@main
21
+ linting :
22
+ name : " Linting"
23
+ uses : SocketDev/workflows/.github/workflows/reusable-base.yml@master
24
+ with :
25
+ no-lockfile : true
26
+ npm-test-script : ' check'
Original file line number Diff line number Diff line change @@ -3,20 +3,26 @@ name: Node CI
3
3
on :
4
4
push :
5
5
branches :
6
- - main
6
+ - master
7
7
tags :
8
8
- ' *'
9
9
pull_request :
10
10
branches :
11
- - main
11
+ - master
12
12
13
13
permissions :
14
14
contents : read
15
15
16
+ concurrency :
17
+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
18
+ cancel-in-progress : true
19
+
16
20
jobs :
17
21
test :
18
- # FIXME Replace with socket.dev one
19
- uses : voxpelli/ghatemplates /.github/workflows/test .yml@main
22
+ name : " Tests "
23
+ uses : SocketDev/workflows /.github/workflows/reusable-base .yml@master
20
24
with :
25
+ no-lockfile : true
26
+ npm-test-script : ' test-ci'
21
27
node-versions : ' 14,16,18,19'
22
28
os : ' ubuntu-latest,windows-latest'
You can’t perform that action at this time.
0 commit comments