File tree Expand file tree Collapse file tree 3 files changed +23
-2
lines changed Expand file tree Collapse file tree 3 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 26
26
with :
27
27
node-version : ' 16'
28
28
29
+ - name : Set up Deno
30
+ if : ${{ steps.release.outputs.releases_created }}
31
+ uses : denoland/setup-deno@v1
32
+ with :
33
+ deno-version : v1.x
34
+
29
35
- name : Install dependencies
30
36
if : ${{ steps.release.outputs.releases_created }}
31
37
run : |
37
43
bash ./bin/publish-npm
38
44
env :
39
45
NPM_TOKEN : ${{ secrets.OPENAI_NPM_TOKEN || secrets.NPM_TOKEN }}
46
+
47
+ - name : Publish to Deno
48
+ if : ${{ steps.release.outputs.releases_created }}
49
+ run : |
50
+ bash ./scripts/git-publish-deno.sh
51
+ env : {}
Original file line number Diff line number Diff line change 17
17
with :
18
18
node-version : ' 16'
19
19
20
+ - name : Set up Deno
21
+ uses : denoland/setup-deno@v1
22
+ with :
23
+ deno-version : v1.x
24
+
20
25
- name : Install dependencies
21
26
run : |
22
27
yarn install
26
31
bash ./bin/publish-npm
27
32
env :
28
33
NPM_TOKEN : ${{ secrets.OPENAI_NPM_TOKEN || secrets.NPM_TOKEN }}
34
+
35
+ - name : Publish to Deno
36
+ run : |
37
+ bash ./scripts/git-publish-deno.sh
38
+ env : {}
Original file line number Diff line number Diff line change 83
83
"format" : " prettier --write --cache --cache-strategy metadata . !dist" ,
84
84
"tsn" : " ts-node -r tsconfig-paths/register" ,
85
85
"lint" : " eslint --ext ts,js ." ,
86
- "fix" : " eslint --fix --ext ts,js ." ,
87
- "postpublish" : " bash scripts/git-publish-deno.sh"
86
+ "fix" : " eslint --fix --ext ts,js ."
88
87
},
89
88
"dependencies" : {
90
89
"@types/node" : " ^18.11.18" ,
You can’t perform that action at this time.
0 commit comments