Skip to content

Commit

Permalink
Add dnt task to deno tasks.
Browse files Browse the repository at this point in the history
  • Loading branch information
dajiaji committed Jun 17, 2022
1 parent 7bb4463 commit be02a46
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: denoland/setup-deno@004814556e37c54a2f6e31384c9e18e983317366
with:
deno-version: v1.x
- run: deno run -A dnt.ts 0.11.4
- run: deno task dnt
- run: mkdir test/browser/src
- run: cp npm/esm/*.js test/browser/src/
- run: cp -rf npm/esm/src test/browser/src/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
with:
deno-version: v1.x
- name: Run dnt
run: deno run -A dnt.ts 0.11.4
run: deno task dnt
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- run: deno run -A dnt.ts 0.11.4
- run: deno task dnt
- working-directory: ./npm
run: npm publish
env:
Expand Down
3 changes: 2 additions & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
}
},
"tasks": {
"test": "deno test test -A --fail-fast --doc --coverage=coverage --jobs --allow-read"
"test": "deno test test -A --fail-fast --doc --coverage=coverage --jobs --allow-read",
"dnt": "deno run -A dnt.ts 0.11.5"
}
}

0 comments on commit be02a46

Please sign in to comment.