Skip to content

Commit

Permalink
EPMRPP-87604 || Use multiple Node.js versions in CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
AmsterGet committed Jan 19, 2024
1 parent e0cb995 commit a9f983b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/CI-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,23 @@ on:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 10, 12, 14, 16, 18, 20 ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
node-version: ${{ matrix.node }}

- name: Install of node dependencies
run: npm install

- name: Run lint
run: npm run lint

- name: Run tests and check coverage
run: npm run test:coverage

0 comments on commit a9f983b

Please sign in to comment.