diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index c7601b1..388d896 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -10,15 +10,15 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - - name: Use Node.js 14.x - uses: actions/setup-node@v2-beta + - name: Use Node.js 20.x + uses: actions/setup-node@v3 with: - node-version: 14.x + node-version: 20.x - name: Cache node modules - uses: actions/cache@v2 + uses: actions/cache@v3 env: cache-name: cache-node-modules with: diff --git a/.github/workflows/unit_test_coverage.yml b/.github/workflows/unit_test_coverage.yml index 5bd6981..1a7fece 100644 --- a/.github/workflows/unit_test_coverage.yml +++ b/.github/workflows/unit_test_coverage.yml @@ -1,4 +1,3 @@ -# This workflow will do the following: # - perform a clean install of node dependencies # - lint the source code for errors # - build the source code @@ -20,7 +19,7 @@ jobs: strategy: fail-fast: false matrix: - version: [14, 16] + version: [20, 21, 18] name: Checkout, install, lint, build and test with coverage runs-on: ubuntu-latest @@ -49,7 +48,7 @@ jobs: run: npm ci - name: Audit dependencies for security vulnerabilities - run: npm audit + run: npm audit --audit-level=high - name: Lint the source code run: npm run-script lint @@ -87,17 +86,17 @@ jobs: upload-codecov-coverage: name: Upload code coverage to Codecov - needs: build + needs: node_matrix runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Download coverage artifact - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: coverage - name: Upload code coverage to Codecov - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v3 with: file: lcov.info - fail_ci_if_error: true \ No newline at end of file + fail_ci_if_error: true diff --git a/package-lock.json b/package-lock.json index a127f99..de696c7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6485,9 +6485,9 @@ "dev": true }, "node_modules/follow-redirects": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.0.tgz", - "integrity": "sha512-aExlJShTV4qOUOL7yF1U5tvLCB0xQuudbf6toyYA0E/acBNw71mvjFTnLaRp50aQaYocMR0a/RMMBIHeZnGyjQ==", + "version": "1.15.5", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", + "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==", "funding": [ { "type": "individual", @@ -18898,9 +18898,9 @@ "dev": true }, "follow-redirects": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.0.tgz", - "integrity": "sha512-aExlJShTV4qOUOL7yF1U5tvLCB0xQuudbf6toyYA0E/acBNw71mvjFTnLaRp50aQaYocMR0a/RMMBIHeZnGyjQ==" + "version": "1.15.5", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", + "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==" }, "fork-ts-checker-webpack-plugin": { "version": "6.5.2",