From d89c463b6ad13972848025e6e7aadb5e4431df28 Mon Sep 17 00:00:00 2001 From: Tong Hau Date: Tue, 9 Jan 2024 13:58:01 +0800 Subject: [PATCH] build(ci): add ci script before npm install --- .github/workflows/publish-latest.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/publish-latest.yml b/.github/workflows/publish-latest.yml index 0d1cac8c..be049b05 100644 --- a/.github/workflows/publish-latest.yml +++ b/.github/workflows/publish-latest.yml @@ -1,3 +1,5 @@ +# @format + name: Publish Latest Releases on: @@ -16,6 +18,7 @@ jobs: with: node-version: 14 registry-url: 'https://registry.npmjs.org' + - run: npm ci - run: npm run lib:install - run: npm run lib:build - run: cd lib/sgds @@ -31,6 +34,7 @@ jobs: with: node-version: 14 registry-url: 'https://registry.npmjs.org' + - run: npm ci - run: npm run sgds-x-family:install - run: npm run sgds-x-family:build - run: cd lib/sgds-x-family