Skip to content

release: v0.17.2

release: v0.17.2 #53

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
permissions:
id-token: write # This is required for requesting the JWT
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v4
with:
version: latest
- uses: actions/setup-node@v4
with:
node-version: latest
registry-url: https://registry.npmjs.org
cache: pnpm
- run: pnpm config set registry https://registry.npmmirror.com
- run: pnpm i
- run: pnpm build
- run: npx jsr publish
- run: npm publish --registry=https://registry.npmjs.org --provenance
- run: cnpm sync
- run: curl -L https://npmmirror.com/sync/json-editor-vue
- run: npx changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}