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:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
|
|
@ -10,19 +10,23 @@ on:
|
|||
branches:
|
||||
- production
|
||||
types: [opened, synchronize, reopened]
|
||||
env:
|
||||
FORGEJO_HOST: git.burcusel.nl
|
||||
CONTAINER_NAME: ydioy
|
||||
OWNER: public
|
||||
jobs:
|
||||
sonarqube:
|
||||
name: SonarQube
|
||||
runs-on: ubuntu-latest
|
||||
qa-and-build:
|
||||
name: QA and Build
|
||||
runs-on: node24
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Setup node environment
|
||||
- name: Setup Node environment
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "22"
|
||||
cache: "npm"
|
||||
node-version: "24"
|
||||
- name: Code checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
- name: Type checking and linting
|
||||
|
|
@ -31,9 +35,10 @@ jobs:
|
|||
npm run lint
|
||||
- name: Run tests and generate coverage
|
||||
run: npm run coverage
|
||||
env:
|
||||
CI: true
|
||||
# env:
|
||||
# CI: true
|
||||
- name: SonarQube Scan
|
||||
uses: SonarSource/sonarqube-scan-action@v6
|
||||
uses: https://github.com/SonarSource/sonarqube-scan-action@v6
|
||||
env:
|
||||
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": {
|
||||
"@tsconfig/node22": "^22.0.2",
|
||||
"@types/node": "^24.10.1",
|
||||
"@types/node": "^25.0.0",
|
||||
"@vitejs/plugin-vue": "^6.0.1",
|
||||
"@vitest/coverage-v8": "^4.0.9",
|
||||
"@vue/test-utils": "^2.4.6",
|
||||
|
|
@ -40,7 +40,7 @@
|
|||
"happy-dom": "^20.0.5",
|
||||
"jiti": "^2.6.1",
|
||||
"npm-run-all2": "^8.0.4",
|
||||
"prettier": "3.6.2",
|
||||
"prettier": "^3.6.2",
|
||||
"resize-observer-polyfill": "^1.5.1",
|
||||
"sass-embedded": "^1.92.1",
|
||||
"typescript": "^5.9.3",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
sonar.projectKey=lburcusel_ydioy
|
||||
sonar.organization=lburcusel
|
||||
# sonar.projectKey=lburcusel_ydioy
|
||||
# sonar.organization=lburcusel
|
||||
sonar.projectKey=DIO
|
||||
sonar.projectName=YDIOY
|
||||
sonar.projectVersion=1.0.0
|
||||
sonar.sourceEncoding=UTF-8
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue