Skip to content

Commit

Permalink
+ GH actions: release workflow - publish to JSR
Browse files Browse the repository at this point in the history
* jsr.json: fixed scope name
  • Loading branch information
shellcatt committed Nov 23, 2024
1 parent 507f41e commit e3d4976
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish

on:
release:
types: [created]

jobs:
publish:
runs-on: ubuntu-latest

permissions:
contents: read
id-token: write # The OIDC ID token is used for authentication with JSR.

steps:
- uses: actions/checkout@v4

- name: Publish package to JSR
run: deno publish
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@scellcatt/tuya-smartlife-api",
"name": "@shellcatt/tuya-smartlife-api",
"version": "0.7.4",
"exports": "./index.mjs",
"publish": {
Expand Down

0 comments on commit e3d4976

Please sign in to comment.