Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Palloxin authored Dec 13, 2024
1 parent ec42788 commit f9cd394
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,18 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0

# Set up Node.js
- uses: actions/setup-node@v4
with:
node-version: '20'

# Set up Java
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'

- name: Cache npm & node modules
uses: actions/cache@v4
with:
Expand All @@ -25,7 +33,7 @@ jobs:
key: ${{ runner.os }}-cache-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-cache-npm-
- name: Install Dependencies
run: |
npm install
Expand Down

0 comments on commit f9cd394

Please sign in to comment.