From e3dfe345716e3f0f652d966dbecc671be45178aa Mon Sep 17 00:00:00 2001 From: "CHAN, Chak Shing" Date: Sat, 2 Dec 2023 16:51:25 +0800 Subject: [PATCH] ci: update npm-publish.yml to update npm --- .github/workflows/npm-publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 64180448..70422df3 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -15,6 +15,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version: lts/* + - run: npm install -g npm - run: npm ci - run: npm test @@ -27,6 +28,7 @@ jobs: with: node-version: lts/* registry-url: https://registry.npmjs.org/ + - run: npm install -g npm - run: npm ci - run: npm publish env: