From cf02e1cc514461b5ec19112efda5f587c2e29502 Mon Sep 17 00:00:00 2001 From: Sarhan Date: Sat, 16 Oct 2021 11:04:25 +0100 Subject: [PATCH] chore: replace npm install and npm test with cit short --- .github/workflows/ci.yml | 4 +--- .github/workflows/npm-publish.yml | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0d377dcbe..e6bf08163 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,10 +20,8 @@ jobs: cache: npm - name: Checkout repository uses: actions/checkout@v2 - - name: Install dependencies - run: npm install - name: Run tests - run: npm test + run: npm cit - if: matrix.node-version == 14 uses: codecov/codecov-action@v2 uses: codecov/codecov-action@v1 diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 7dd82c110..02ad8c11f 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -15,10 +15,8 @@ jobs: cache: npm - name: Checkout Repository uses: actions/checkout@v2 - - name: Install Dependencies - run: npm install - name: Run Tests - run: npm test + run: npm cit - name: Publish Package to NPM Registry run: npm publish env: