Skip to content

Design a New Project Structure #117

Design a New Project Structure

Design a New Project Structure #117

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
junit:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Build with Maven
run: |
cd api
mvn clean test
jest:
strategy:
matrix:
os: [ubuntu-latest, macos-13, windows-latest]
node-version: [18.x, 20.x]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
cd app
npm install
- name: Run ESLint
run: |
cd app
npm run lint
- name: Run Jest Tests
run: |
cd app
npm run test