Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: ['17']
node-version: [20.x]
java: ['25']
node-version: [24.x]
steps:
- name: "📥 Checkout repository"
uses: actions/checkout@v6
Expand All @@ -31,8 +31,10 @@ jobs:
- name: "🔨 Build project"
id: build
run: ./gradlew build
- name: "🪵 npm debug logs (diagnostic)"
if: failure()
run: tail -n 300 /home/runner/.npm/_logs/*.log
- name: Verify Run
if: steps.build.outcome == 'success' && github.event_name == 'push'
run: |
cd ./app/launch/
npm test
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: ['17']
java: ['25']
steps:
- name: "📥 Checkout repository"
uses: actions/checkout@v6
Expand All @@ -21,6 +21,10 @@ jobs:
uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c # v5.2.0
with:
develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Publish Grails Forge UI
run: ./publish.sh
env:
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.19.5
24.16.0
58 changes: 0 additions & 58 deletions app/launch/.eslintrc.js

This file was deleted.

1 change: 1 addition & 0 deletions app/launch/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry=https://registry.npmjs.org/
72 changes: 72 additions & 0 deletions app/launch/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
import js from '@eslint/js'
import globals from 'globals'
import reactPlugin from 'eslint-plugin-react'
import importPlugin from 'eslint-plugin-import'

export default [
js.configs.recommended,
{
files: ['**/*.{js,jsx}'],
plugins: {
react: reactPlugin,
import: importPlugin,
},
languageOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
parserOptions: {
ecmaFeatures: { jsx: true },
},
globals: {
...globals.browser,
...globals.es2021,
...globals.node,
},
},
settings: {
react: { version: 'detect' },
},
rules: {
...reactPlugin.configs.recommended.rules,
// React 17+ automatic JSX transform does not require React in scope
'react/react-in-jsx-scope': 'off',
// Project does not use PropTypes
'react/prop-types': 'off',
'no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
'no-case-declarations': 'warn',
'import/order': [
'error',
{
groups: [
'builtin',
'external',
'internal',
'parent',
'sibling',
'index',
],
pathGroups: [
{
pattern: 'react*',
group: 'external',
position: 'before',
},
],
pathGroupsExcludedImportTypes: ['react'],
alphabetize: {
order: 'asc',
caseInsensitive: true,
},
},
],
},
},
{
files: ['**/__tests__/**', '**/*.test.*'],
languageOptions: {
globals: {
...globals.jest,
},
},
},
]
Loading