generated from layer5io/layer5-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Usama Idriss Kakumba <[email protected]>
- Loading branch information
1 parent
44c6e97
commit 93b204b
Showing
2 changed files
with
33 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file was deleted.
Oops, something went wrong.