Skip to content

Commit

Permalink
fix github workflows again
Browse files Browse the repository at this point in the history
  • Loading branch information
bprize15 committed Nov 13, 2024
1 parent b230c40 commit ef3babf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ name: ESLint
on: [push, pull_request]
jobs:
build:
defaults:
run:
working-directory: web/src/main/javascript
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v2
with:
node-version: 20.12.2
- name: Navigate to frontend directory
run: cd web/src/main/javascript
- name: Install node modules
run: cd web/src/main/javascript && npm install
- name: Run ESLint
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/github-ci.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
name: Application CI
name: Frontend CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: web/src/main/javascript
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v2
with:
node-version: 20.12.2
- name: Navigate to frontend directory
run: cd web/src/main/javascript
- name: Install node modules
run: npm install
- name: Build application
- name: Build frontend
run: npm run build
- name: Run unit tests
run: npm test

0 comments on commit ef3babf

Please sign in to comment.