Skip to content

Commit

Permalink
Update CI for X-Wing.
Browse files Browse the repository at this point in the history
  • Loading branch information
dajiaji committed Nov 3, 2024
1 parent 6cd55a9 commit b0dc55a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/ci_browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ jobs:
run: |
npx typedoc --name "@hpke/dhkem-secp256k1 $(git describe --tags --abbrev=0)" --out ../hpke-js/test/runtimes/browsers/pages/dhkem-secp256k1/docs mod.ts
deno task minify > ../hpke-js/test/runtimes/browsers/pages/dhkem-secp256k1/src/hpke-dhkem-secp256k1.js
- name: Build docs for @hpke/hybridkem-x-wing
working-directory: ./packages/hybridkem-x-wing
run: |
npx typedoc --name "@hpke/hybridkem-x-wing" --out ../hpke-js/test/runtimes/browsers/pages/hybridkem-x-wing/docs mod.ts
deno task minify > ../hpke-js/test/runtimes/browsers/pages/hybridkem-x-wing/src/hpke-hybridkem-x-wing.js
- name: Build docs for @hpke/hpke-js
working-directory: ./packages/hpke-js
run: |
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/ci_node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,14 @@ jobs:
- name: Publish to npm (dry) for /packages/dhkem-secp256k1
working-directory: ./npm/packages/dhkem-secp256k1
run: npm publish --dry-run
- name: Run dnt & minify for /packages/hybridkem-x-wing
working-directory: ./packages/hybridkem-x-wing
run: |
deno task dnt
deno task minify > ../../npm/packages/hybridkem-x-wing/hpke-hybridkem-x-wing.min.js
- name: Publish to npm (dry) for /packages/hybridkem-x-wing
working-directory: ./npm/packages/hybridkem-x-wing
run: npm publish --dry-run
- name: Run dnt & minify for /packages/hpke-js
working-directory: ./packages/hpke-js
run: |
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,13 @@ jobs:
run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- name: Publish @hpke/hybridkem-x-wing to npm
working-directory: ./npm/packages/hybridkem-x-wing
run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- name: Publish hpke-js to npm
working-directory: ./npm/packages/hpke-js
run: npm publish --provenance
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit b0dc55a

Please sign in to comment.