Skip to content

Commit

Permalink
Linter and npm directory
Browse files Browse the repository at this point in the history
  • Loading branch information
gr812b committed Mar 19, 2024
1 parent 3624f30 commit ec064f5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/javaLinting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ jobs:
uses: super-linter/super-linter@v6.3.0 # x-release-please-version
env:
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
working-directory: ./API/src
17 changes: 12 additions & 5 deletions .github/workflows/node.js.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,21 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v4

- run: cd ./front-end

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: front-end/package-lock.json

- name: Install dependencies
run: npm ci
working-directory: ./front-end

- name: Build
run: npm run build --if-present
working-directory: ./front-end

- run: npm ci
- run: npm run build --if-present
- run: npm test
- name: Test
run: npm test
working-directory: ./front-end

0 comments on commit ec064f5

Please sign in to comment.