Skip to content

chore(release): 发布 v1.2.15 #4

chore(release): 发布 v1.2.15

chore(release): 发布 v1.2.15 #4

Workflow file for this run

name: Publish to npm
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
registry-url: 'https://registry.npmjs.org'
cache: npm
- run: npm install -g npm@latest
- run: npm ci
- run: npm run version
- run: npm run build
- run: npm publish --access public