File tree 7 files changed +10830
-4924
lines changed 7 files changed +10830
-4924
lines changed Original file line number Diff line number Diff line change 1
- name : ci
1
+ name : lint
2
2
3
3
on :
4
4
push :
21
21
22
22
- name : Install dependencies
23
23
run : npx nypm@latest i
24
+
25
+ - name : Dev Prepare
26
+ run : npm run dev:prepare
24
27
25
28
- name : Lint
26
29
run : npm run lint
27
-
28
- test :
29
- runs-on : ubuntu-latest
30
-
31
- steps :
32
- - uses : actions/checkout@v4
33
- - run : corepack enable
34
- - uses : actions/setup-node@v4
35
- with :
36
- node-version : 22.5.1
37
-
38
- - name : Install dependencies
39
- run : npx nypm@latest i
40
-
41
- - name : Playground prepare
42
- run : npm run dev:prepare
43
-
44
-
Original file line number Diff line number Diff line change
1
+ name : Release
2
+ on :
3
+ push :
4
+ branches :
5
+ - main # Specify your default branch
6
+
7
+ permissions :
8
+ contents : write # Allow writing to the repository for tags and releases
9
+ statuses : write
10
+ issues : write
11
+
12
+ jobs :
13
+ release :
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : actions/checkout@v4
17
+
18
+ - uses : actions/setup-node@v4
19
+ with :
20
+ node-version : 22.5.1
21
+
22
+ - name : Install dependencies
23
+ run : npm ci
24
+
25
+ - name : Prepare for development
26
+ run : npm run dev:prepare
27
+
28
+ - name : Prepack the project
29
+ run : npm run prepack
30
+
31
+ - name : Run audit
32
+ run : npm audit signatures
33
+
34
+ - name : Release
35
+ env :
36
+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
37
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
38
+ run : npx semantic-release
You can’t perform that action at this time.
0 commit comments