From 4bf371878f14a56df526197f448c377ab1713986 Mon Sep 17 00:00:00 2001 From: 3446798488 <3446798488@qq.com> Date: Sun, 8 Oct 2023 07:13:42 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..f501605 --- /dev/null +++ b/.github/workflows/release.yml @@ -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 }} \ No newline at end of file