File tree Expand file tree Collapse file tree 2 files changed +76
-0
lines changed Expand file tree Collapse file tree 2 files changed +76
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release and Publish
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ - alpha
8
+ - beta
9
+ - next
10
+
11
+ jobs :
12
+ test :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - name : Checkout
16
+ uses : actions/checkout@v4
17
+
18
+ - name : Setup Node.js
19
+ uses : actions/setup-node@v4
20
+ with :
21
+ node-version : 20
22
+
23
+ - name : npm install
24
+ run : npm install
25
+
26
+ - name : npm lint
27
+ run : npm run lint
28
+
29
+ - name : npm types
30
+ run : npm run types
31
+
32
+ - name : npm test
33
+ run : npm test
34
+
35
+ # - name: npx semantic-release
36
+ # run: npx semantic-release
37
+ # env:
38
+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39
+ # NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change
1
+ name : Run Lint and Tests
2
+
3
+ on :
4
+ push :
5
+ branches-ignore :
6
+ - main
7
+ - alpha
8
+ - beta
9
+ - next
10
+
11
+ jobs :
12
+ build :
13
+ strategy :
14
+ matrix :
15
+ os : [ubuntu-latest, macOS-latest, windows-latest]
16
+ node-version : [18, 20, 22]
17
+ runs-on : ${{ matrix.os }}
18
+
19
+ steps :
20
+ - uses : actions/checkout@v4
21
+
22
+ - name : Use Node.js ${{ matrix.node-version }}
23
+ uses : actions/setup-node@v4
24
+ with :
25
+ node-version : ${{ matrix.node-version }}
26
+
27
+ - name : npm install
28
+ run : npm install
29
+
30
+ - name : npm lint
31
+ run : npm run lint
32
+
33
+ - name : npm types
34
+ run : npm run types
35
+
36
+ - name : npm test
37
+ run : npm test
You can’t perform that action at this time.
0 commit comments