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