File tree 8 files changed +1039
-121
lines changed
8 files changed +1039
-121
lines changed Original file line number Diff line number Diff line change
1
+ # editorconfig.org
2
+ root = true
3
+
4
+ [* ]
5
+ indent_style = space
6
+ indent_size = 2
7
+ end_of_line = lf
8
+ charset = utf-8
9
+ trim_trailing_whitespace = true
10
+ insert_final_newline = true
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.
You can’t perform that action at this time.
0 commit comments