Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
dennykorsukewitz committed Nov 21, 2023
1 parent f4c9059 commit 618d399
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,39 @@ on:
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab

jobs:
ESLint:
name: ESLint
runs-on: ubuntu-22.04 # ubuntu-latest
script:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: |
npm install
npm install eslint
- name: Run ESLint
run: npm run lint

EJSlint:
name: EJSlint
runs-on: ubuntu-22.04 # ubuntu-latest
script:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: |
npm install
npm install -g ejs-lint
- name: Run EJSlint
run: run ejslint generators/

UnitTest-Jest:
name: UnitTest:Jest
runs-on: ubuntu-22.04 # ubuntu-latest
needs: [
ESLint,
EJSlint,
]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit 618d399

Please sign in to comment.