From 5ba54710af953ea2e42e610c34d2d848c002e04a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Monkey=20=E2=80=A2=20D=20=E2=80=A2=20Code?= Date: Thu, 21 Nov 2024 09:10:37 +0000 Subject: [PATCH] update action --- .github/workflows/npm-publish.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 2a4766d..1f3678c 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -9,17 +9,6 @@ on: jobs: build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 20 - - run: npm ci - - run: npm test - - publish-npm: - needs: build runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -27,7 +16,7 @@ jobs: with: node-version: 20 registry-url: https://registry.npmjs.org/ - - run: npm ci + - run: npm install - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.npm_token}}