Skip to content

Commit 5c75011

Browse files
authored
Merge pull request #323 from dajiaji/refine-cloudflare-test-for-core
Make cloudflare test use JSR.
2 parents 9941182 + 1c47287 commit 5c75011

File tree

8 files changed

+118
-1462
lines changed

8 files changed

+118
-1462
lines changed

.github/workflows/ci_cloudflare.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,15 @@ jobs:
3737
- working-directory: ./core
3838
run: |
3939
deno task dnt
40-
deno task minify > test/runtimes/hpke-core.js
40+
deno run -A dnt.ts 0.0.0
4141
deno task minify > ../x/dhkem-x25519/test/runtimes/hpke-core.js
4242
deno task minify > ../x/dhkem-x448/test/runtimes/hpke-core.js
4343
deno task minify > ../x/chacha20poly1305/test/runtimes/hpke-core.js
4444
deno task minify > ../x/hybridkem-x25519-kyber768/test/runtimes/hpke-core.js
4545
deno task minify > ../x/dhkem-secp256k1/test/runtimes/hpke-core.js
46+
- name: Run npm pack for core
47+
working-directory: ./core/npm
48+
run: npm pack
4649
- name: Run test for core
4750
working-directory: ./core/test/runtimes/cloudflare
4851
run: |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@jsr:registry=https://npm.jsr.io

0 commit comments

Comments
 (0)