From 080e929518d988cf2457228ac4bc517206e44b3e Mon Sep 17 00:00:00 2001 From: "Derek.H" Date: Mon, 21 Oct 2024 19:28:39 +0800 Subject: [PATCH] Update npm-publish.yml --- .github/workflows/npm-publish.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index b6c4845..d7442ef 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20 - - run: npm ci + - run: npm install - run: npm run build publish-npm: @@ -27,7 +27,6 @@ jobs: with: node-version: 20 registry-url: https://registry.npmjs.org/ - - run: npm install - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.npm_token}}