-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48 from sombraSoft/tooling/ci-improvement
Add formatting and linting checks to CI
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: CI | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
- develop | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# Check out the source | ||
- name: Checkout Source | ||
uses: actions/checkout@v4 | ||
# Setup node.js and cache | ||
- name: "Setup node.js" | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "18.x" | ||
cache: 'npm' | ||
cache-dependency-path: ./package-lock.json | ||
# Install dependencies | ||
- name: Install dependencies | ||
run: npm ci | ||
# Lint App | ||
- name: Lint App | ||
run: npm run lint:ci | ||
# Build App | ||
- name: Build App | ||
run: npm run build |
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