From 8b270c2255f7d00ce3ea978ffa716285e21f81b6 Mon Sep 17 00:00:00 2001 From: Mohammad Amanalikhani Date: Thu, 12 Oct 2023 18:33:33 +0330 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=D8=A7=D8=B5=D9=84=D8=A7=D8=AD=20ci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: MD Amanalikhani Co-authored-by: MD Amanalikhani --- .github/workflows/publish.yaml | 6 +++--- .github/workflows/test.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 2ff9da0..6cbe8cb 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -20,7 +20,7 @@ jobs: node-version: $NODE_VERSION - name: Install dependencies run: | - npm ci + npm i npm test publish-npmjs-pkg: #NPM Packages @@ -44,7 +44,7 @@ jobs: path: docs - name: Install dependencies run: | - npm ci + npm i npm run build npm publish --access public env: @@ -87,7 +87,7 @@ jobs: path: docs - name: Install dependencies run: | - npm ci + npm i npm pkg set name="@md-akhi/shdate" npm run build npm publish diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4fe36c4..8c9723b 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -19,6 +19,6 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: | - npm i + npm ci npm test # npm run build --if-present