From 6679c43057fdcc009e0a51f952f87caf373917fc Mon Sep 17 00:00:00 2001 From: jagan Date: Thu, 15 Feb 2024 09:23:32 -0600 Subject: [PATCH] Updated ci and coverage ymls --- .github/workflows/ci.yml | 8 ++------ .github/workflows/coverage.yml | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 74199b2..96253c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,11 +22,9 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - cache: 'npm' + registry-url: 'https://registry.npmjs.org' - name: Install Dependencies run: npm ci --ignore-scripts - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Compile run: npm run ci:compile - name: Check Code Style @@ -51,11 +49,9 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - cache: 'npm' + registry-url: 'https://registry.npmjs.org' - name: Install Dependencies run: npm ci --ignore-scripts - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Compile run: npm run ci:compile - name: Check Code Style diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index fddb52e..736a093 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -21,11 +21,9 @@ jobs: uses: actions/setup-node@v4 with: node-version: '20.x' - cache: 'npm' - - name: Install Dependencies + registry-url: 'https://registry.npmjs.org' + - name: Install dependencies run: npm ci --ignore-scripts - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Calculate Code Coverage run: npm run ci:coverage - name: Create Coverage Report for base branch @@ -34,8 +32,6 @@ jobs: git fetch git checkout origin/${{ github.event.pull_request.base.ref }} npm ci --ignore-scripts && npm run ci:coverage - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Post Coverage Report uses: checkdigit/github-actions/coverage-reporter@main with: