Skip to content

Commit 48d3e22

Browse files
authored
Update deno.yml
1 parent c58eb9b commit 48d3e22

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deno.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ jobs:
5454
- name: Bundle package for Deno
5555
id: deno-bundle
5656
uses: stdlib-js/deno-bundle-action@main
57+
with:
58+
target: 'deno'
5759
- name: Rewrite file contents
5860
run: |
5961
# Replace links to other packages with links to the deno branch:
@@ -67,7 +69,7 @@ jobs:
6769
6870
# Rewrite all `require()`s to use jsDelivr links:
6971
find ./deno -type f -name '*.md' -print0 | xargs -0 sed -Ei "/require\( '@stdlib\// {
70-
s/(var|let|const)\s+([a-z]+)\s+=\s*require\( '([^']+)' \);/import \2 from \'\3\';/i
72+
s/(var|let|const)\s+([a-z0-9]+)\s+=\s*require\( '([^']+)' \);/import \2 from \'\3\';/i
7173
s/@stdlib/https:\/\/cdn.jsdelivr.net\/gh\/stdlib-js/
7274
s/';/@deno\/mod.js';/
7375
}"

0 commit comments

Comments
 (0)