From 458aa2ac34798872dcf0cb0ee3667c6fb7baf225 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Thu, 10 Jun 2021 21:06:52 +0800 Subject: [PATCH] chore: update workflows config. --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 98dd153..7653622 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,6 +39,9 @@ jobs: - run: npm run build - run: npm run test + - run: npm install @jsdevtools/npm-publish + - run: ./node_modules/.bin/npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json + - name: Build and Deploy uses: peaceiris/actions-gh-pages@v3 with: