Skip to content

Commit

Permalink
Add Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dmohns committed May 16, 2024
1 parent 5b64e90 commit 428134e
Showing 1 changed file with 67 additions and 0 deletions.
67 changes: 67 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: Code Quality

on:
push:
branches:
- develop
pull_request:
branches:
- develop

jobs:
lint-prettier:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- uses: actions/setup-node@v4
with:
node-version: lts/gallium

- name: Install drec-ui
run: npm install

- name: Run Prettier
run: npm run prettier
continue-on-error: true

lint-eslint:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- uses: actions/setup-node@v4
with:
node-version: lts/gallium

- name: Install drec-ui
run: npm install

- name: Run ESLint (error)
run: npm run lint:error
continue-on-error: true

- name: Run ESLint (all)
run: npm run lint
continue-on-error: true

check-build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- uses: actions/setup-node@v4
with:
node-version: lts/gallium

- name: Install drec-ui
run: npm install

- name: Build drec-origin
run: npm run build

0 comments on commit 428134e

Please sign in to comment.