Skip to content

Commit

Permalink
chore: update publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kravetsone committed May 15, 2024
1 parent d3de98d commit 242ea97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,11 @@ jobs:
- name: Type-check
run: tsc --noEmit

- name: Setup Deno
uses: denoland/setup-deno@v1

- name: Publish package to JSR
run: bunx jsr publish --allow-dirty
run: deno publish --allow-dirty --unstable-sloppy-imports

- name: Install Node
uses: actions/setup-node@v4
Expand Down
2 changes: 1 addition & 1 deletion scripts/release-jsr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jsrConfig.version = version;

fs.writeFileSync("deno.json", JSON.stringify(jsrConfig, null, 4));

execSync("bun x @teidesu/slow-types-compiler fix --entry deno.json");
execSync("bun x @teidesu/slow-types-compiler@latest fix --entry deno.json");

console.log("Prepared to release on JSR!");

0 comments on commit 242ea97

Please sign in to comment.