From 7085ad3073cf6f8efa0a0e543fe1d79fa0b56364 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Sat, 4 Sep 2021 02:13:47 +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 9d57000e..1be8853a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,9 @@ jobs: - run: npm run coverage - run: npm run doc + - run: npm install @jsdevtools/npm-publish -g + - run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json + - name: Build and Deploy uses: peaceiris/actions-gh-pages@v2.5.0 env: