Skip to content

Commit

Permalink
Update lint.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
gr812b committed Mar 19, 2024
1 parent 06e0000 commit 1d02620
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,35 @@ jobs:

- name: Build with Maven
run: cd ./API && mvn -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn package --file pom.xml

Build_Node.js:
runs-on: ubuntu-latest
name: "Build with Node.js"

strategy:
matrix:
node-version: [18.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- name: Check out repository code
uses: actions/checkout@v4

- 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 --force
working-directory: ./front-end

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

- name: Test
run: npm test
working-directory: ./front-end

0 comments on commit 1d02620

Please sign in to comment.