Skip to content

Commit 1eb61b2

Browse files
committed
Fix CI types and publish workflow
1 parent 1838913 commit 1eb61b2

5 files changed

Lines changed: 24 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
publish:
1515
name: Publish npm package
1616
runs-on: ubuntu-latest
17+
environment: npm-publish
1718
permissions:
1819
contents: read
1920
id-token: write
@@ -62,6 +63,4 @@ jobs:
6263
run: npx turbo run pack:dry-run
6364

6465
- name: Publish to npm
65-
run: npm publish --provenance
66-
env:
67-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
66+
run: npm publish

package-lock.json

Lines changed: 19 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"typecheck": "tsc --noEmit"
3737
},
3838
"devDependencies": {
39+
"@types/node": "^22.15.30",
3940
"@biomejs/biome": "^1.9.4",
4041
"turbo": "^2.8.1",
4142
"typescript": "^5.9.3"

tsconfig.build.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"target": "ES2022",
55
"module": "NodeNext",
66
"moduleResolution": "NodeNext",
7+
"types": ["node"],
78
"strict": true,
89
"skipLibCheck": true,
910
"noFallthroughCasesInSwitch": true,

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"target": "ES2022",
55
"module": "NodeNext",
66
"moduleResolution": "NodeNext",
7+
"types": ["node"],
78
"strict": true,
89
"skipLibCheck": true,
910
"noFallthroughCasesInSwitch": true,

0 commit comments

Comments
 (0)