From 78ced0e09c4aafd2d4f399ec4eae08dd624ef493 Mon Sep 17 00:00:00 2001 From: Ryu <114303361+ryuapp@users.noreply.github.com> Date: Wed, 13 May 2026 00:41:46 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Setup=20release=20action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..44c6caf --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,28 @@ +name: Release + +on: + release: + types: [published] + workflow_dispatch: + +jobs: + publish: + name: Publish to npm + runs-on: ubuntu-24.04 + permissions: + contents: read + id-token: write + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false + - name: Setup Deno + uses: denoland/setup-deno@667a34cdef165d8d2b2e98dde39547c9daac7282 # v2.0.4 + + - name: Format + run: deno fmt --check + - name: Build + run: deno task build + + - name: Publish to npm + run: deno x -r npm publish