File tree Expand file tree Collapse file tree 2 files changed +63
-0
lines changed Expand file tree Collapse file tree 2 files changed +63
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release NPM
2
+
3
+ on :
4
+ push :
5
+ branches : [release/*]
6
+
7
+ jobs :
8
+ publish-npm :
9
+ name : Publish NPM module
10
+ runs-on : ubuntu-latest
11
+ environment : Release
12
+ steps :
13
+ - uses : actions/checkout@v4
14
+ - uses : actions/setup-node@v4
15
+ with :
16
+ node-version : ' 22'
17
+ cache : ' npm'
18
+ cache-dependency-path : javascript/package-lock.json
19
+ - run : npm install-test
20
+ working-directory : javascript
21
+ -
uses :
cucumber/[email protected]
22
+ with :
23
+ npm-token : ${{ secrets.NPM_TOKEN }}
24
+ working-directory : javascript
Original file line number Diff line number Diff line change
1
+ name : test-javascript
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ - renovate/**
8
+ pull_request :
9
+ branches :
10
+ - main
11
+ workflow_call :
12
+
13
+ jobs :
14
+ test-javascript :
15
+ runs-on : ${{ matrix.os }}
16
+ strategy :
17
+ fail-fast : false
18
+ matrix :
19
+ os :
20
+ - ubuntu-latest
21
+ node-version : ["18.x", "20.x", "22.x"]
22
+ include :
23
+ - os : windows-latest
24
+ node-version : " 22.x"
25
+ - os : macos-latest
26
+ node-version : " 22.x"
27
+
28
+ steps :
29
+ - uses : actions/checkout@v4
30
+
31
+ - name : with Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
32
+ uses : actions/setup-node@v4
33
+ with :
34
+ node-version : ${{ matrix.node-version }}
35
+ cache : " npm"
36
+ cache-dependency-path : javascript/package-lock.json
37
+
38
+ - run : npm install-ci-test
39
+ working-directory : javascript
You can’t perform that action at this time.
0 commit comments