File tree Expand file tree Collapse file tree 2 files changed +8
-21
lines changed
Expand file tree Collapse file tree 2 files changed +8
-21
lines changed Original file line number Diff line number Diff line change 1515 steps :
1616 - uses : actions/checkout@v3
1717
18- - uses : denoland/setup-deno@v1
19- with :
20- deno-version : v1.x
21-
22- - run : |
23- deno task build
18+ - uses : asdf-vm/actions/install@v2
19+
20+ - run : deno task build
2421
2522 - uses : cycjimmy/semantic-release-action@v3
2623 with :
Original file line number Diff line number Diff line change 1- import { build , emptyDir } from "https://deno.land/x/dnt@0.26.0 /mod.ts" ;
1+ import { build , emptyDir } from "https://deno.land/x/dnt@0.33.1 /mod.ts" ;
22
3+ // delete previous build
34await emptyDir ( "./npm" ) ;
45
6+ // build
57await build ( {
6- typeCheck : false ,
78 entryPoints : [
89 "./src/index.ts" ,
910 {
@@ -15,21 +16,10 @@ await build({
1516 outDir : "./npm" ,
1617 shims : {
1718 deno : true , // for Deno namespace
18- custom : [ {
19- package : { // for fetch
20- name : "node-fetch" ,
21- version : "~2.6.7" ,
22- } ,
23- globalNames : [ {
24- name : "fetch" ,
25- exportName : "default" ,
26- } ] ,
27- } ] ,
28- } ,
29- mappings : {
19+ undici : true , // for fetch
3020 } ,
21+ // package.json properties
3122 package : {
32- // package.json properties
3323 name : "unity-changeset" ,
3424 version : "0.0.1" ,
3525 description : "Get/List Unity changeset" ,
You can’t perform that action at this time.
0 commit comments