Skip to content
Open
Show file tree
Hide file tree
Changes from 4 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: 4 additions & 4 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 14
node-version: 20
cache: npm
cache-dependency-path: frontend/package-lock.json
- run: npm install -g npm@7.0.0
- run: npm install
working-directory: ./frontend
- run: npm run test
Expand All @@ -51,7 +50,7 @@ jobs:
node-next-test:
strategy:
matrix:
node_version: ['16', '18', '20']
node_version: ['18', '20', '22']
needs: changes
if: ${{ needs.changes.outputs.frontend == 'true' }}
runs-on: ubuntu-latest
Expand All @@ -61,7 +60,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
- run: npm install -g npm@7.0.0
cache: npm
cache-dependency-path: frontend/package-lock.json
- run: npm install
working-directory: ./frontend
- run: npm run test
Expand Down
2 changes: 1 addition & 1 deletion frontend/.tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 14.21.3
nodejs 20.18.1
5 changes: 5 additions & 0 deletions frontend/config/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ module.exports = function(environment) {
ENV.APP.autoboot = false;
ENV.apiHost = 'http://localhost:3000';
var STATIC_URL = 'http://localhost:4300';

// Disable reCAPTCHA in test environment to prevent loading errors
ENV.gReCaptcha = {
siteKey: null
};
}

if (environment === 'production') {
Expand Down
Loading
Loading