Migration to Forgejo
This commit is contained in:
parent
5e63a44677
commit
47a9a46592
6 changed files with 536 additions and 535 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
name: Sonar
|
name: Production Build and Deploy
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|
@ -10,19 +10,23 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- production
|
- production
|
||||||
types: [opened, synchronize, reopened]
|
types: [opened, synchronize, reopened]
|
||||||
|
env:
|
||||||
|
FORGEJO_HOST: git.burcusel.nl
|
||||||
|
CONTAINER_NAME: ydioy
|
||||||
|
OWNER: public
|
||||||
jobs:
|
jobs:
|
||||||
sonarqube:
|
qa-and-build:
|
||||||
name: SonarQube
|
name: QA and Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: node24
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: Setup Node environment
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
- name: Setup node environment
|
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: "22"
|
node-version: "24"
|
||||||
cache: "npm"
|
- name: Code checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
- name: Type checking and linting
|
- name: Type checking and linting
|
||||||
|
|
@ -31,9 +35,10 @@ jobs:
|
||||||
npm run lint
|
npm run lint
|
||||||
- name: Run tests and generate coverage
|
- name: Run tests and generate coverage
|
||||||
run: npm run coverage
|
run: npm run coverage
|
||||||
env:
|
# env:
|
||||||
CI: true
|
# CI: true
|
||||||
- name: SonarQube Scan
|
- name: SonarQube Scan
|
||||||
uses: SonarSource/sonarqube-scan-action@v6
|
uses: https://github.com/SonarSource/sonarqube-scan-action@v6
|
||||||
env:
|
env:
|
||||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||||
|
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
|
||||||
1031
package-lock.json
generated
1031
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -27,7 +27,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tsconfig/node22": "^22.0.2",
|
"@tsconfig/node22": "^22.0.2",
|
||||||
"@types/node": "^24.10.1",
|
"@types/node": "^25.0.0",
|
||||||
"@vitejs/plugin-vue": "^6.0.1",
|
"@vitejs/plugin-vue": "^6.0.1",
|
||||||
"@vitest/coverage-v8": "^4.0.9",
|
"@vitest/coverage-v8": "^4.0.9",
|
||||||
"@vue/test-utils": "^2.4.6",
|
"@vue/test-utils": "^2.4.6",
|
||||||
|
|
@ -40,7 +40,7 @@
|
||||||
"happy-dom": "^20.0.5",
|
"happy-dom": "^20.0.5",
|
||||||
"jiti": "^2.6.1",
|
"jiti": "^2.6.1",
|
||||||
"npm-run-all2": "^8.0.4",
|
"npm-run-all2": "^8.0.4",
|
||||||
"prettier": "3.6.2",
|
"prettier": "^3.6.2",
|
||||||
"resize-observer-polyfill": "^1.5.1",
|
"resize-observer-polyfill": "^1.5.1",
|
||||||
"sass-embedded": "^1.92.1",
|
"sass-embedded": "^1.92.1",
|
||||||
"typescript": "^5.9.3",
|
"typescript": "^5.9.3",
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
sonar.projectKey=lburcusel_ydioy
|
# sonar.projectKey=lburcusel_ydioy
|
||||||
sonar.organization=lburcusel
|
# sonar.organization=lburcusel
|
||||||
|
sonar.projectKey=DIO
|
||||||
sonar.projectName=YDIOY
|
sonar.projectName=YDIOY
|
||||||
sonar.projectVersion=1.0.0
|
sonar.projectVersion=1.0.0
|
||||||
sonar.sourceEncoding=UTF-8
|
sonar.sourceEncoding=UTF-8
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue