Skip to content

Commit

Permalink
Update ci1.yml V3
Browse files Browse the repository at this point in the history
  • Loading branch information
Chua123Yun authored Sep 4, 2024
1 parent 6de5052 commit 5dd5753
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/ci1.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: CI
on:
push:
branches: [ master ]
branches: [ test ]
pull_request:
branches: [ master ]
branches: [ test ]

jobs:
build:
Expand All @@ -19,7 +19,17 @@ jobs:
distribution: 'adopt'
java-version: '17'

# Make build script executable
# Ensure Node.js is installed to run yarn commands
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'

# Install dependencies using yarn
- name: Install dependencies
run: yarn install

# Make the build script executable
- name: Make build script executable
run: chmod +x ./scripts/build-frontend-if-needed.sh

Expand Down Expand Up @@ -62,4 +72,4 @@ jobs:

# Run Deployment
- name: Run Deployment
run: java -jar build/libs/unleash_test-V1.jar
run: java -jar build/libs/unleash-test-V1.jar

0 comments on commit 5dd5753

Please sign in to comment.