File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : ci
22
3- on : push
3+ on :
4+ pull_request :
5+ push :
6+ branches-ignore :
7+ - main
8+ tags-ignore :
9+ - ' *'
410
511jobs :
612 ci :
Original file line number Diff line number Diff line change @@ -12,7 +12,32 @@ permissions:
1212 packages : write
1313
1414jobs :
15+ ci :
16+ runs-on : ubuntu-latest
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@v6
20+
21+ - name : Install pnpm
22+ uses : pnpm/action-setup@v4
23+
24+ - name : Install Node.js
25+ uses : actions/setup-node@v6
26+ with :
27+ node-version : 22
28+ cache : pnpm
29+
30+ - name : Install dependencies
31+ run : pnpm install --frozen-lockfile
32+
33+ - name : Lint
34+ run : pnpm run lint
35+
36+ - name : Typecheck
37+ run : pnpm run typecheck
38+
1539 publish-dev :
40+ needs : ci
1641 if : github.ref == 'refs/heads/main'
1742 runs-on : ubuntu-latest
1843 steps :
4671 labels : ${{ steps.meta.outputs.labels }}
4772
4873 publish-release :
74+ needs : ci
4975 if : startsWith(github.ref, 'refs/tags/')
5076 runs-on : ubuntu-latest
5177 steps :
Original file line number Diff line number Diff line change 11{
22 "name" : " editoro" ,
3+ "version" : " 1.0.1" ,
34 "private" : true ,
45 "type" : " module" ,
56 "scripts" : {
You can’t perform that action at this time.
0 commit comments