Skip to content

Commit

Permalink
ci: merge lint to checks workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Usama Idriss Kakumba <[email protected]>
  • Loading branch information
usamaidrsk committed Jan 9, 2025
1 parent 44c6e97 commit 93b204b
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 61 deletions.
60 changes: 33 additions & 27 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,41 @@
name: Checks
on:
pull_request:
types: [opened, synchronize]
pull_request:
types: [opened, synchronize]
push:
branches:
- '*'
paths-ignore:
- 'system/**/*'
- '.github/**/*'
- '*.md'

jobs:
checks:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16, 18, 20]
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
checks:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16, 18, 20]
steps:
- name: Checkout Repo
uses: actions/checkout@v4

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

- name: Setup and install deps
run: |
npm install
- name: Setup and install deps
run: npm install

- name: Lint check
run: npm run lint

- name: Prettier check
run: |
npm run format:check
- name: Prettier check
run: npm run format:check

- name: Build
run: |
npm run build
- name: Build
run: npm run build

- name: Test
run: |
npm run test
- name: Test
run: npm run test
34 changes: 0 additions & 34 deletions .github/workflows/lint.yml

This file was deleted.

0 comments on commit 93b204b

Please sign in to comment.