Skip to content

Commit

Permalink
OY-4937 Setup node
Browse files Browse the repository at this point in the history
  • Loading branch information
msiukola committed Sep 18, 2024
1 parent bd461a0 commit 11df6f1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,23 @@ jobs:
java-version: '8'
distribution: 'corretto'

- uses: actions/setup-node@v4
with:
node-version: 8.12.0

- uses: szenius/set-timezone@v1.0
with:
timezoneLinux: "Europe/Helsinki"

- name: Build with Maven
env:
GITHUB_TOKEN: ${{ github.token }}
run: mvn clean package -B -Dbranch=${GITHUB_REF_NAME} -Drevision=${GITHUB_SHA} -DbuildNumber=${GITHUB_RUN_NUMBER}

run: |
node -v
npm -v
mvn clean package -B -Dbranch=${GITHUB_REF_NAME} -Drevision=${GITHUB_SHA} -DbuildNumber=${GITHUB_RUN_NUMBER}
node -v
npm -v
- uses: actions/cache@v4
id: restore-build
with:
Expand Down
2 changes: 1 addition & 1 deletion tarjonta-app-angular/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</goals>
<configuration>
<nodeVersion>v8.12.0</nodeVersion>
<npmVersion>3.10.7</npmVersion>
<npmVersion>6.14.17</npmVersion>
</configuration>
</execution>

Expand Down

0 comments on commit 11df6f1

Please sign in to comment.