Skip to content

Commit

Permalink
feat: Add GitHub workflow for jsr
Browse files Browse the repository at this point in the history
This commit introduces a new GitHub workflow named 'jsr'. It triggers
on push events for tags starting with "v". The workflow has read
permissions for contents and write permissions for id-token. It
runs on ubuntu-latest and includes steps for checkout, install
dependencies with frozen lockfile, and publish from the
'packages/unplugin-typia' directory.
  • Loading branch information
ryoppippi committed Jun 11, 2024
1 parent 0486a6d commit 9af15fa
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/jsr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: jsr

on:
push:
tags:
- "v*"

permissions:
contents: read
id-token: write

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- run: bun i --frozen-lockfile
- run: bun run publish
working-directory: packages/unplugin-typia

0 comments on commit 9af15fa

Please sign in to comment.