Skip to content

Commit

Permalink
ci: Use Deno in JSR publish
Browse files Browse the repository at this point in the history
🙄
  • Loading branch information
jasonjgardner committed Jul 15, 2024
1 parent 10d73ed commit 8bbede7
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/jsr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Publish package
run: |
npm install
npx jsr publish
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Publish to JSR
run: deno publish

1 comment on commit 8bbede7

@deno-deploy
Copy link

@deno-deploy deno-deploy bot commented on 8bbede7 Jul 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed to deploy:

UNCAUGHT_EXCEPTION

Error: unsupported arch/platform: Node API is not supported in this environment
    at Object.<anonymous> (file:///node_modules/.deno/[email protected]/node_modules/imagescript/codecs/node/index.js:3:21)
    at Object.<anonymous> (file:///node_modules/.deno/[email protected]/node_modules/imagescript/codecs/node/index.js:4:4)
    at Module._compile (node:module:729:34)
    at Object.Module._extensions..js (node:module:743:10)
    at Module.load (node:module:654:32)
    at Function.Module._load (node:module:522:12)
    at Module.require (node:module:673:19)
    at require (node:module:787:16)
    at Object.<anonymous> (file:///node_modules/.deno/[email protected]/node_modules/imagescript/ImageScript.js:4:16)
    at Object.<anonymous> (file:///node_modules/.deno/[email protected]/node_modules/imagescript/ImageScript.js:1671:4)

Please sign in to comment.