Configure Node JS Workflow
diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml
new file mode 100644
index 0000000..bb92865
--- /dev/null
+++ b/.github/workflows/gradle.yml
@@ -0,0 +1,41 @@
+name: Node.js CI
+on:
+ push:
+ branches:
+ - main
+ pull_request:
+ branches:
+ - main
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ java: ['11']
+ node-version: '18.x'
+ steps:
+ - uses: actions/checkout@v3.2.0
+ - name: Set up JDK
+ uses: actions/setup-java@v3
+ with:
+ distribution: 'adopt'
+ java-version: ${{ matrix.java }}
+ - name: Use Node.js ${{ matrix.node-version }}
+ uses: actions/setup-node@v3
+ with:
+ node-version: ${{ matrix.node-version }}
+ - name: Run Build
+ id: build
+ uses: gradle/gradle-build-action@v2
+ env:
+ GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
+ GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER: ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER }}
+ GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY: ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY }}
+ with:
+ arguments: build
+ - name: Verify Run
+ if: steps.build.outcome == 'success' && github.event_name == 'push'
+ run: |
+ cd ./app/launch/
+ npm test -- --watchAll=false
+ npm run start:local
\ No newline at end of file
diff --git a/app/launch/public/grails-version-feed.json b/app/launch/public/grails-version-feed.json
index 68ced09..9a2e1a6 100755
--- a/app/launch/public/grails-version-feed.json
+++ b/app/launch/public/grails-version-feed.json
@@ -2,7 +2,7 @@
"versions": [
{
"key": "RELEASE",
- "baseUrl": "http://localhost:8080",
+ "baseUrl": "http://localhost:8080", /**/
"order": 0
},
{