diff --git a/.github/workflows/codeclimate.yml b/.github/workflows/codeclimate.yml index 078ca7f..726bef2 100644 --- a/.github/workflows/codeclimate.yml +++ b/.github/workflows/codeclimate.yml @@ -9,8 +9,8 @@ jobs: - uses: actions/setup-node@v1 with: node-version: '14' - - run: npm install -g jest@^26 - - run: npm install + - run: npm ci -g jest@^26 + - run: npm ci - uses: paambaati/codeclimate-action@v2.4.0 env: CC_TEST_REPORTER_ID: 125467a1ee6a975ccd559c38662bdc1dd9540cd2803f98db94e1cf3596738773 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a9608eb..405677a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,5 +9,5 @@ jobs: - uses: actions/setup-node@v1 with: node-version: '14.x' - - run: npm install + - run: npm ci - run: npm run eslint diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1feadb7..a7eb072 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,5 +12,5 @@ jobs: - uses: actions/setup-node@v1 with: node-version: ${{ matrix.node }} - - run: npm install + - run: npm ci - run: npm run jest