File tree Expand file tree Collapse file tree 2 files changed +10
-62
lines changed Expand file tree Collapse file tree 2 files changed +10
-62
lines changed Original file line number Diff line number Diff line change 77
88jobs :
99 release :
10- runs-on : ubuntu-latest
11- steps :
12- - uses : actions/checkout@v4
13- with :
14- fetch-depth : 0
15-
16- - name : Set node
17- uses : actions/setup-node@v4
18- with :
19- node-version : lts/*
20-
21- - run : npx changelogithub
22- env :
23- GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
10+ uses : sxzz/workflows/.github/workflows/release.yml@v1
11+ with :
12+ publish : false
13+ permissions :
14+ contents : write
15+ id-token : write
Original file line number Diff line number Diff line change 77 branches : [main]
88
99jobs :
10- lint :
11- runs-on : ubuntu-latest
12- steps :
13- - uses : actions/checkout@v4
14- - name : Set node
15- uses : actions/setup-node@v4
16- with :
17- node-version : lts/*
18-
19- - name : Setup
20- run : npm i -g @antfu/ni
21-
22- - name : Install
23- run : nci
24-
25- - name : Lint
26- run : nr lint --max-warnings=0
27-
28- - name : Typecheck
29- run : nr typecheck
30-
31- unit_test :
32- runs-on : ${{ matrix.os }}
33-
34- strategy :
35- matrix :
36- os : [ubuntu-latest]
37- node : [18, lts/*]
38- fail-fast : false
39-
40- steps :
41- - uses : actions/checkout@v4
42- - name : Set node ${{ matrix.node }}
43- uses : actions/setup-node@v4
44- with :
45- node-version : ${{ matrix.node }}
46-
47- - name : Setup
48- run : npm i -g @antfu/ni
49-
50- - name : Install
51- run : nci
52-
53- - name : Build
54- run : nr build
55-
56- - name : Test
57- run : nr test tests/request.test.ts
10+ unit-test :
11+ uses : sxzz/workflows/.github/workflows/unit-test.yml@v1
12+ with :
13+ test : cp tests/config.example.ts tests/config.ts && test tests/request.test.ts
You can’t perform that action at this time.
0 commit comments