Skip to content

Commit 7c1fce6

Browse files
authored
Merge pull request #353 from dajiaji/use-deno-task-dnt-on-bun-ci
Use deno task dnt.
2 parents 59cc9a3 + dd39866 commit 7c1fce6

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

.github/workflows/ci_bun.yml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
run: npm install -g esbuild
3333
- name: Prepare test for ./x/core
3434
working-directory: ./x/core
35-
run: deno run -A dnt.ts
35+
run: deno task dnt
3636
- name: Run npm pack for ./x/core
3737
working-directory: ./npm-packages/x/core
3838
run: npm pack
@@ -45,8 +45,7 @@ jobs:
4545
deno test core.spec.ts --allow-net --config ../../../deno.json
4646
- name: Prepare test for ./x/chacha20poly1305
4747
working-directory: ./x/chacha20poly1305
48-
run: |
49-
deno run -A dnt.ts
48+
run: deno task dnt
5049
- name: Run npm pack for ./x/chacha20poly1305
5150
working-directory: ./npm-packages/x/chacha20poly1305
5251
run: npm pack
@@ -59,8 +58,7 @@ jobs:
5958
deno test chacha20poly1305.spec.ts --allow-net --config ../../../deno.json
6059
- name: Prepare test for ./x/dhkem-x25519
6160
working-directory: ./x/dhkem-x25519
62-
run: |
63-
deno task dnt
61+
run: deno task dnt
6462
- name: Run npm pack for ./x/dhkem-x25519
6563
working-directory: ./npm-packages/x/dhkem-x25519
6664
run: npm pack
@@ -73,8 +71,7 @@ jobs:
7371
deno test dhkem-x25519.spec.ts --allow-net --config ../../../deno.json
7472
- name: Prepare test for ./x/dhkem-x448
7573
working-directory: ./x/dhkem-x448
76-
run: |
77-
deno task dnt
74+
run: deno task dnt
7875
- name: Run npm pack for ./x/dhkem-x448
7976
working-directory: ./npm-packages/x/dhkem-x448
8077
run: npm pack
@@ -87,8 +84,7 @@ jobs:
8784
deno test dhkem-x448.spec.ts --allow-net --config ../../../deno.json
8885
- name: Prepare test for ./x/dhkem-secp256k1
8986
working-directory: ./x/dhkem-secp256k1
90-
run: |
91-
deno task dnt
87+
run: deno task dnt
9288
- name: Run npm pack for ./x/dhkem-secp256k1
9389
working-directory: ./npm-packages/x/dhkem-secp256k1
9490
run: npm pack
@@ -101,8 +97,7 @@ jobs:
10197
deno test dhkem-secp256k1.spec.ts --allow-net --config ../../../deno.json
10298
- name: Prepare test for ./x/hybridkem-x25519-kyber768
10399
working-directory: ./x/hybridkem-x25519-kyber768
104-
run: |
105-
deno task dnt
100+
run: deno task dnt
106101
- name: Run npm pack for ./x/hybridkem-x25519-kyber768
107102
working-directory: ./npm-packages/x/hybridkem-x25519-kyber768
108103
run: npm pack
@@ -115,9 +110,7 @@ jobs:
115110
deno test hybridkem-x25519-kyber768.spec.ts --allow-net --config ../../../deno.json
116111
- name: Prepare test for ./x/hpke-js
117112
working-directory: ./x/hpke-js
118-
run: |
119-
deno run -A dnt.ts
120-
deno task minify > test/runtimes/hpke.js
113+
run: deno task dnt
121114
- name: Run npm pack for ./x/hpke-js
122115
working-directory: ./npm-packages/x/hpke-js
123116
run: npm pack

0 commit comments

Comments
 (0)