Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAT-6310 node 20 + deps #48

Merged
merged 5 commits into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/unit_test_coverage.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
fail_ci_if_error: true
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading