Skip to content

chore(release): 0.0.11 #11

chore(release): 0.0.11

chore(release): 0.0.11 #11

Workflow file for this run

name: Release Package
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Build @yike-design/ui
run: pnpm run build:comp && pnpm run build:less
- name: Pubilsh package to npm
run: pnpm publish --filter @yike-design/ui --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}