From 8b0e82f8b2907e17297dced101c32c60c7862bad Mon Sep 17 00:00:00 2001 From: masx200 <34191203+masx200@users.noreply.github.com> Date: Thu, 14 Jul 2022 01:24:59 +0800 Subject: [PATCH] Update npm-publish.yml --- .github/workflows/npm-publish.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 3254d6f..421725d 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -8,18 +8,10 @@ on: types: [created] jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 16 - - run: npm ci - - run: npm test + publish-npm: - needs: build + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3