Skip to content

Commit

Permalink
revert 'types' script at root level
Browse files Browse the repository at this point in the history
  • Loading branch information
endel authored and martenrichter committed Dec 31, 2023
1 parent 1434b21 commit fa41b42
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
env:
BUILDARCH: ${{ matrix.arch }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run prebuild
run: npm run prebuild

# code is not ready... if anyone needs it, I am open for PR
# prebuild-cross:
Expand Down Expand Up @@ -201,7 +201,7 @@ jobs:

- name: Build types
if: needs.version-check.outputs.changed == 'true'
run: npm run types
run: npm run types

- run: npm publish --tag stable --workspace main --workspace transports/http3-quiche
if: ${{ needs.version-check.outputs.changed == 'true' && github.ref == 'refs/heads/master' }}
Expand Down
3 changes: 1 addition & 2 deletions main/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
"test:webkit:http2:ponyfill": "node test/index.js webkit http2 ponyfill",
"oldtest": "node old_test/test.js",
"oldtesthttp2": "node old_test/test.js http2",
"lint": "eslint lib test old_test",
"prepublishOnly": "tsc"
"lint": "eslint lib test old_test"
},
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"test:webkit:http2:ponyfill": "npm run test:webkit:http2:ponyfill --workspace main",
"oldtest": "npm run oldtest --workspace main",
"oldtesthttp2": "npm run oldtesthttp2 --workspace main",
"types": "tsc --build",
"lint": "npm run lint --workspaces",
"prebuild": "npm run prebuild --workspace transports/http3-quiche",
"build-debug": "npm run build-debug --workspace transports/http3-quiche",
Expand Down
3 changes: 1 addition & 2 deletions transports/http3-quiche/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
"rebuild-debug": "node build.js rebuild-debug -D",
"build-debug": "node build.js build-debug",
"prebuild": "node build.js prebuild",
"lint": "eslint lib",
"prepublishOnly": "tsc"
"lint": "eslint lib"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit fa41b42

Please sign in to comment.