This repository was archived by the owner on Apr 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +56
-11
lines changed Expand file tree Collapse file tree 3 files changed +56
-11
lines changed Original file line number Diff line number Diff line change
1
+ # For more information see:
2
+ # https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3
+
4
+ name : NLM Release
5
+
6
+ on :
7
+ push :
8
+ branches : [ master ]
9
+
10
+ jobs :
11
+ publish-npm :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v4
15
+ with :
16
+ fetch-depth : 0
17
+ - uses : actions/setup-node@v3
18
+ with :
19
+ node-version : 18
20
+ - run : npm ci
21
+ - run : npx nlm release
22
+ env :
23
+ GH_TOKEN : ${{secrets.GITHUB_TOKEN}}
24
+ NPM_TOKEN : ${{secrets.NPM_TOKEN}}
Original file line number Diff line number Diff line change
1
+ # This workflow will do a clean install of node dependencies, build the source
2
+ # code and run tests across different versions of node
3
+ # For more information see:
4
+ # https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
5
+
6
+ name : NPM Test
7
+
8
+ on :
9
+ pull_request :
10
+
11
+ jobs :
12
+ build :
13
+ runs-on : ubuntu-latest
14
+
15
+ strategy :
16
+ matrix :
17
+ node-version : [18.x, 20.x]
18
+
19
+ steps :
20
+ - uses : actions/checkout@v4
21
+ with :
22
+ fetch-depth : 0
23
+ - name : Use Node.js ${{ matrix.node-version }}
24
+ uses : actions/setup-node@v3
25
+ with :
26
+ node-version : ${{ matrix.node-version }}
27
+ - run : npm ci
28
+ - run : npm run build --if-present
29
+ - run : npm test
30
+ - run : npx nlm verify
31
+ env :
32
+ GH_TOKEN : ${{secrets.GITHUB_TOKEN}}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments