Skip to content

Commit

Permalink
Testing CI pipeline changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sayoungestguy committed Sep 20, 2024
1 parent 7924625 commit 0e10e15
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ jobs:
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Upload Node Modules as Artifact
uses: actions/upload-artifact@v4
with:
name: node-modules
path: node_modules

package:
name: Package App
runs-on: ubuntu-latest
Expand All @@ -41,10 +47,10 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20.15.0
# - uses: actions/setup-java@v4
# with:
# distribution: 'temurin'
# java-version: 17
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Package application
run: npm run java:jar:prod
- name: Upload Build Artifact
Expand All @@ -71,10 +77,10 @@ jobs:
needs: package
steps:
- uses: actions/checkout@v4
# - uses: actions/setup-java@v4
# with:
# distribution: 'temurin'
# java-version: 17
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Run backend test
run: |
chmod +x mvnw
Expand All @@ -97,6 +103,11 @@ jobs:
node-version: 20.15.0
# - name: Install Node.js Packages
# uses: npm install
- name: Download Node Modules
uses: actions/download-artifact@v4
with:
name: node-modules
path: node_modules
- name: Run frontend test
run: npm run ci:frontend:test
- name: Upload Frontend Test Report
Expand Down

0 comments on commit 0e10e15

Please sign in to comment.