File tree 1 file changed +30
-0
lines changed
1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Node.js CI
2
+
3
+ on :
4
+ push :
5
+ branches : [master, next]
6
+
7
+ jobs :
8
+ release :
9
+ if : ${{ github.event_name == 'push' && (github.event.ref == 'refs/heads/master' || github.event.ref == 'refs/heads/next') }}
10
+ runs-on : ubuntu-latest
11
+ strategy :
12
+ matrix :
13
+ node-version : [22.x]
14
+ steps :
15
+ - uses : actions/checkout@v4
16
+ - name : Use Node.js ${{ matrix.node-version }}
17
+ uses : actions/setup-node@v4
18
+ with :
19
+ node-version : ${{ matrix.node-version }}
20
+ cache : yarn
21
+ - run : yarn install --frozen-lockfile
22
+ - run : yarn lint
23
+ - run : yarn test
24
+ - run : yarn lint:types
25
+ - run : yarn build
26
+ - name : Semantic Release
27
+ uses : cycjimmy/semantic-release-action@v4
28
+ env :
29
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
30
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments