Skip to content

release: v0.17.2

release: v0.17.2 #52

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: actions/setup-node@v4
with:
node-version: latest
registry-url: https://registry.npmjs.org
cache: npm
- run: npm i pnpm@latest -g
- 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 }}