File tree 5 files changed +652
-8
lines changed
5 files changed +652
-8
lines changed Original file line number Diff line number Diff line change
1
+ on : [push, pull_request]
2
+
3
+ name : CI
4
+
5
+ jobs :
6
+ node-jdbc :
7
+ name : node-jdbc
8
+ runs-on : ubuntu-latest
9
+ strategy :
10
+ fail-fast : false
11
+ matrix :
12
+ node_version :
13
+ - 18
14
+ - 20
15
+ steps :
16
+ - name : 🧶 Get yarn cache directory path 🧶
17
+ id : yarn-cache-dir-path
18
+ run : echo "dir=$(yarn config get cacheFolder)" >> "$GITHUB_OUTPUT"
19
+ - name : 💵 Cache 💵
20
+ uses : actions/cache@v4
21
+ id : yarn-cache
22
+ with :
23
+ path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
24
+ key : ${{ runner.os }}-${{ matrix.node_version }}-yarn-${{ hashFiles('**/yarn.lock') }}
25
+ restore-keys : |
26
+ ${{ runner.os }}-${{ matrix.node_version }}-yarn-
27
+ ${{ runner.os }}-yarn-
28
+ - name : ☑️ Checkout ☑️
29
+ uses : actions/checkout@v4
30
+ - name : 🔋 Node 🔋
31
+ uses : actions/setup-node@v4
32
+ with :
33
+ node-version : ${{ matrix.node_version }}
34
+ - name : 💾 Install 💾
35
+ run : yarn install
36
+ - name : 🧪 Test 🧪
37
+ run : yarn test
Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - " v*.*.*"
7
+ - " v*.*.*-*"
8
+
9
+ jobs :
10
+ npm :
11
+ runs-on : ubuntu-latest
12
+ timeout-minutes : 30
13
+
14
+ steps :
15
+ - name : Checkout
16
+ uses : actions/checkout@v4
17
+ - name : Use Node.js 20.x
18
+ uses : actions/setup-node@v4
19
+ with :
20
+ node-version : 20.x
21
+ - name : Yarn install
22
+ uses : borales/actions-yarn@v4
23
+ with :
24
+ cmd : install --frozen-lockfile
25
+ - name : Set NPM token
26
+ run : echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
27
+ env :
28
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
29
+ - name : NPM publish
30
+ run : npm publish --access public
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " node-java-maven" ,
3
- "version" : " 0.1.2 " ,
2
+ "name" : " @cubejs-backend/ node-java-maven" ,
3
+ "version" : " 0.1.3 " ,
4
4
"description" : " Utility for Node's java module to load mvn dependencies." ,
5
5
"main" : " index.js" ,
6
6
"bin" : {
15
15
" mvn"
16
16
],
17
17
"bugs" : {
18
- "url" : " https://github.com/joeferner /node-java-maven/issues"
18
+ "url" : " https://github.com/cube-js /node-java-maven/issues"
19
19
},
20
20
"repository" : {
21
21
"type" : " git" ,
22
- "url" : " https://github.com/joeferner /node-java-maven.git"
22
+ "url" : " https://github.com/cube-js /node-java-maven.git"
23
23
},
24
24
"author" :
" Joe Ferner <[email protected] >" ,
25
25
"license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments