From 2bcce9e3bddb4e856986afa596edb54882f7131f Mon Sep 17 00:00:00 2001 From: rzvxa Date: Wed, 4 Oct 2023 10:53:39 +0330 Subject: [PATCH] Updated ci tasks to use ci instead of install --- .github/workflows/codeql-analysis.yml | 4 ++-- .github/workflows/publish.yml | 2 +- .github/workflows/test.yml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 9fac220..cd2c34b 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -37,11 +37,11 @@ jobs: # If you wish to specify custom queries, you can do so here or in a config file. # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file. - + # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs # queries: security-extended,security-and-quality - + # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 256007d..f101a7a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -25,7 +25,7 @@ jobs: - name: Install and build run: | - npm install + npm ci npm run postinstall npm run build diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ebe3de4..3560329 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,9 +20,9 @@ jobs: node-version: 18 cache: npm - - name: npm install + - name: npm ci run: | - npm install + npm ci - name: npm test env: