Skip to content

Commit

Permalink
other: Update CI to decrease linter noise
Browse files Browse the repository at this point in the history
  • Loading branch information
olexandr-mazepa committed Jan 17, 2024
1 parent 6460037 commit b2f8370
Showing 1 changed file with 49 additions and 23 deletions.
72 changes: 49 additions & 23 deletions .github/workflows/on-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,33 +12,59 @@ on:

jobs:
on-pull-request:
name: test
strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x]
runs-on: 'ubuntu-latest'
steps:
- name: Checkout
uses: actions/checkout@v3
- name: lint
runs-on: 'ubuntu-latest'
steps:
- name: Checkout
uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- uses: actions/setup-node@v3
with:
node-version: "18.x"

- name: Print node version
run: node -v
- name: Install dependencies
run: npm ci

- name: Install dependencies
run: npm ci
- name: Run linter
run: npm run lint
- name: Test
strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x]
runs-on: 'ubuntu-latest'
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Run linter
run: npm run lint
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Run build
run: npm run build
- name: Print node version
run: node -v

- name: Run tests
run: npm test
- name: Install dependencies
run: npm ci

- name: Show expected changes in the changelog file
run: npm run release:test
- name: Run build
run: npm run build

- name: Run tests
run: npm test

- name: Show expected changes in the changelog file
run: npm run release:test
- name: Changelog check
runs-on: 'ubuntu-latest'
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.x"
- name: Print node version
run: node -v
- name: Install dependencies
run: npm ci
- name: Show expected changes in the changelog file
run: npm run release:test

0 comments on commit b2f8370

Please sign in to comment.