File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish Package
2+ permissions :
3+ id-token : write
4+ on :
5+ push :
6+ tags :
7+ - ' *'
8+ jobs :
9+ publish :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v5
13+ - uses : actions/setup-node@v6
14+ with :
15+ node-version : ' 24.x'
16+ registry-url : ' https://registry.npmjs.org'
17+ - run : npm version from-git --git-tag-version=false
18+ - run : npm ci
19+ - run : npm run build
20+ - run : npm publish --tag latest
Original file line number Diff line number Diff line change 1+ name : Run Tests
2+ on :
3+ push :
4+ branches :
5+ - ' main'
6+ pull_request :
7+ jobs :
8+ test :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v5
12+ - uses : actions/setup-node@v6
13+ with :
14+ node-version : ' 24.x'
15+ registry-url : ' https://registry.npmjs.org'
16+ - run : npm ci
17+ - run : npm run build
18+ - run : npm run test
Original file line number Diff line number Diff line change 1+ nodejs 24.13.0
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://docs.renovatebot.com/renovate-schema.json" ,
3+ "extends" : [
4+ " github>code0-tech/monoceros//renovate/global.json5" ,
5+ " :assignee(nicosammito)"
6+ ],
7+ "packageRules" : [
8+ {
9+ "matchManagers" : [
10+ " asdf" ,
11+ " github-actions"
12+ ],
13+ "extends" : [
14+ " :assignee(Taucher2003)"
15+ ]
16+ },
17+ {
18+ "matchDepTypes" : [
19+ " devDependencies"
20+ ],
21+ "rangeStrategy" : " bump"
22+ }
23+ ]
24+ }
Original file line number Diff line number Diff line change @@ -27,7 +27,12 @@ export default defineConfig({
2727 plugins : [
2828 dts ( {
2929 insertTypesEntry : true ,
30- include : [ 'src/**/*.ts' ]
30+ include : [ 'src/**/*.ts' ] ,
31+ afterDiagnostic : diagnostics => {
32+ if ( diagnostics . length > 0 ) {
33+ throw new Error ( "dts failed" ) ;
34+ }
35+ }
3136 } )
3237 ]
3338} ) ;
You can’t perform that action at this time.
0 commit comments