Publish DuoyunUI #83
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish DuoyunUI | |
on: | |
push: | |
tags: | |
- duoyun-ui@* | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
duoyun-ui-publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 # docs https://pnpm.io/continuous-integration#github-actions | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22.x | |
cache: pnpm | |
- run: pnpm install | |
- uses: JS-DevTools/npm-publish@v1 | |
with: | |
package: packages/duoyun-ui/package.json | |
token: ${{ secrets.NPM_TOKEN }} |