diff --git a/.github/workflows/ci_publish.yml b/.github/workflows/ci_publish.yml index e843627..ac044dd 100644 --- a/.github/workflows/ci_publish.yml +++ b/.github/workflows/ci_publish.yml @@ -7,18 +7,27 @@ on: jobs: ci_publish: runs-on: ubuntu-latest + steps: - name: Checkout sources uses: actions/checkout@v3 + - name: Setup node uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 16 registry-url: https://registry.npmjs.org/ + cache: npm + + - name: Install latest npm + run: npm install -g npm@latest + - name: Install dependencies - run: npm clean-install + run: npm clean-install --engine-strict + - name: Build run: npm run build + - name: Publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}