From 982a4cfc96ec0c07296d7efad3d9093c87359869 Mon Sep 17 00:00:00 2001 From: Badisi Date: Wed, 13 Apr 2022 23:38:24 +0200 Subject: [PATCH] feat(ci): minor improvements --- .github/workflows/ci_publish.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) 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 }}