File tree Expand file tree Collapse file tree 5 files changed +597
-232
lines changed
Expand file tree Collapse file tree 5 files changed +597
-232
lines changed Original file line number Diff line number Diff line change 1212 "ignorePatterns" : [
1313 " packages/*/dist/**/*" ,
1414 " packages/*/package/**/*"
15- ]
15+ ],
16+ "rules" : {
17+ "@typescript-eslint/consistent-type-imports" : " error"
18+ }
1619}
Original file line number Diff line number Diff line change 1+ name : Release
2+ on :
3+ issue_comment :
4+ types : [created, deleted]
5+ push :
6+ branches :
7+ - main
8+ jobs :
9+ check :
10+ runs-on : ubuntu-latest
11+ name : Check if release job should run
12+ outputs :
13+ continue : ${{ steps.check.outputs.continue }}
14+ steps :
15+ - name : Check context
16+ id : check
17+ uses : trigensoftware/simple-release-action@latest
18+ with :
19+ workflow : check
20+ release :
21+ runs-on : ubuntu-latest
22+ name : Release
23+ needs : check
24+ if : needs.check.outputs.continue == 'true'
25+ steps :
26+ - name : Checkout the repository
27+ uses : actions/checkout@v4
28+ - name : Install pnpm
29+ uses : pnpm/action-setup@v2
30+ with :
31+ version : 10
32+ - name : Install Node.js
33+ uses : actions/setup-node@v4
34+ with :
35+ node-version : 18
36+ cache : ' pnpm'
37+ registry-url : ' https://registry.npmjs.org'
38+ - name : Install dependencies
39+ run : pnpm install
40+ - name : Simple release
41+ uses : trigensoftware/simple-release-action@latest
42+ with :
43+ github-token : ${{ secrets.GITHUB_TOKEN }}
44+ npm-token : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1+ import { PnpmWorkspacesProject } from '@simple-release/pnpm'
2+
3+ export const project = new PnpmWorkspacesProject ( {
4+ mode : 'independent'
5+ } )
6+
7+ export const releaser = {
8+ verbose : true
9+ }
10+
11+ export const publish = {
12+ access : 'public'
13+ }
Original file line number Diff line number Diff line change 3333 "@commitlint/config-conventional" : " ^19.8.1" ,
3434 "@commitlint/config-pnpm-scopes" : " ^19.8.1" ,
3535 "@commitlint/cz-commitlint" : " ^19.8.1" ,
36+ "@simple-release/pnpm" : " ^2.0.0" ,
3637 "@trigen/eslint-config" : " 8.0.0-alpha.33" ,
3738 "@trigen/scripts" : " 8.0.0-alpha.33" ,
38- "@vitest/coverage-v8" : " ^3.0.0 " ,
39+ "@vitest/coverage-v8" : " ^3.2.2 " ,
3940 "clean-publish" : " 5.1.0" ,
40- "commitizen" : " ^4.2.4 " ,
41+ "commitizen" : " ^4.3.1 " ,
4142 "del-cli" : " ^6.0.0" ,
42- "eslint" : " ^8.28.0 " ,
43+ "eslint" : " ^8.57.1 " ,
4344 "nano-staged" : " ^0.8.0" ,
44- "simple-git-hooks" : " ^2.7 .0" ,
45+ "simple-git-hooks" : " ^2.13 .0" ,
4546 "tsm" : " ^2.3.0" ,
4647 "typescript" : " 5.2.2" ,
47- "vite" : " ^6.0.0 " ,
48- "vitest" : " ^3.0.0 "
48+ "vite" : " ^6.3.5 " ,
49+ "vitest" : " ^3.2.2 "
4950 }
5051}
You can’t perform that action at this time.
0 commit comments