Skip to content
Merged
Show file tree
Hide file tree
Changes from 9 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
File renamed without changes.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maven is not added
The directory needs to be set to the folder, the dependency managing file is in, see:
https://github.com/jplag/JPlag/blob/c895e28a48a23bc44b8bef4c0edd1e43cabc174c/.github/dependabot.yml#L28-L31

Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,20 @@ updates:
- "dependencies"
- package-ecosystem: "npm"
target-branch: "main"
directory: "/"
directory: "/Frontend/WebEditor"
schedule:
interval: "weekly"
day: "wednesday"
time: "11:00"
timezone: "Europe/Berlin"
commit-message:
prefix: "Dependency"
include: "scope"
labels:
- "dependencies"
- package-ecosystem: "maven"
target-branch: "main"
directory: "/Backend/AnalysisBackendServer"
schedule:
interval: "weekly"
day: "wednesday"
Expand All @@ -26,3 +39,4 @@ updates:
include: "scope"
labels:
- "dependencies"
- "minor"
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,13 @@ jobs:
with:
maven-version: 3.9.6
- name: Build and Verify
working-directory: Backend/AnalysisBackendServer
run: mvn clean verify
- name: Publish Nightly Update Site
if: github.event_name != 'release' && github.ref == 'refs/heads/main' && github.repository_owner == 'DataFlowAnalysis'
uses: peaceiris/actions-gh-pages@v4
with:
path: Backend/AnalysisBackendServer
deploy_key: ${{ secrets.UPDATE_SITE_DEPLOY_KEY }}
external_repository: DataFlowAnalysis/updatesite
destination_dir: nightly/analysis-backend-server/
Expand All @@ -40,6 +42,7 @@ jobs:
if: github.event_name == 'release' && github.repository_owner == 'DataFlowAnalysis'
uses: peaceiris/actions-gh-pages@v4
with:
path: Backend/AnalysisBackendServer
deploy_key: ${{ secrets.UPDATE_SITE_DEPLOY_KEY }}
external_repository: DataFlowAnalysis/updatesite
destination_dir: release/analysis-backend-server/${{ github.event.release.tag_name }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
node-version: "22"

- name: Install and Lint
working-directory: Frontend/WebEditor
run: |
npm install
npx prettier --check ./**/*.html
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
node-version: "22"

- name: Install and Lint
working-directory: Frontend/WebEditor
run: |
npm install
npm run lint
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,26 @@ jobs:
steps:
- uses: actions/checkout@v5
- name: Use Node.js 20.x
working-directory: Frontend/WebEditor
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm

- name: Install dependencies
working-directory: Frontend/WebEditor
run: npm install

- name: Build project
working-directory: Frontend/WebEditor
run: npm run build

- name: Upload Pages artifact
if: github.ref == 'refs/heads/main'
uses: actions/upload-pages-artifact@v3
with:
path: "./dist/"
path: Frontend/WebEditor/dist

- name: Deploy to GitHub Pages
if: github.ref == 'refs/heads/main'
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v4
15 changes: 0 additions & 15 deletions Backend/AnalysisBackendServer/.github/dependabot.yml

This file was deleted.