Skip to content

Commit

Permalink
feat: 添加自动同步代码
Browse files Browse the repository at this point in the history
  • Loading branch information
KonghaYao committed Oct 8, 2023
1 parent 3215c20 commit 4bf3718
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: release

on:
push:
tags:
- '*'

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
- run: cd ./packages/subsets
- run: npm install
- run: npm pkg set name=cn-font-split
- run: npm run prepublish
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}

0 comments on commit 4bf3718

Please sign in to comment.