Skip to content

Commit

Permalink
EPMRPP-94905 || Fix CI execution
Browse files Browse the repository at this point in the history
  • Loading branch information
AmsterGet committed Sep 20, 2024
1 parent 2e03d70 commit e58b6ea
Showing 1 changed file with 58 additions and 3 deletions.
61 changes: 58 additions & 3 deletions .github/workflows/CI-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,71 @@ on:
- master

jobs:
test:
runs-on: [ubuntu-latest, windows-latest, macos-latest]
test-on-ubuntu:
runs-on: ubuntu-latest
strategy:
matrix:
node: [14, 16, 18, 20, 22]
steps:
- name: Checkout repository
uses: actions/checkout@v4

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

- name: Install of node dependencies
run: npm install

- name: Build the source code
run: npm run build

- name: Run lint
run: npm run lint

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

test-on-windows:
runs-on: windows-latest
strategy:
matrix:
node: [14, 16, 18, 20, 22]
steps:
- name: Checkout repository
uses: actions/checkout@v4

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

- name: Install of node dependencies
run: npm install

- name: Build the source code
run: npm run build

- name: Run lint
run: npm run lint

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

test-on-macos:
runs-on: macos-latest
strategy:
matrix:
node: [14, 16, 18, 20, 22]
steps:
- name: Checkout repository
uses: actions/checkout@v4

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

- name: Install of node dependencies
run: npm install
Expand Down

0 comments on commit e58b6ea

Please sign in to comment.