mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-12-21 14:16:28 +00:00
fix ci
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -26,7 +26,7 @@ jobs:
|
|||||||
id: build
|
id: build
|
||||||
if: steps.changes.outputs.src == 'true'
|
if: steps.changes.outputs.src == 'true'
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm run install:vite8
|
||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
- name: Upload css assets
|
- name: Upload css assets
|
||||||
|
|||||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Build theme
|
- name: Build theme
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm run install:vite8
|
||||||
npm run release
|
npm run release
|
||||||
- name: Create release
|
- name: Create release
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -11,7 +11,8 @@
|
|||||||
"version": "node scripts/version.cjs",
|
"version": "node scripts/version.cjs",
|
||||||
"tr": "node scripts/translate.cjs",
|
"tr": "node scripts/translate.cjs",
|
||||||
"release": "npm run build && npm run tr",
|
"release": "npm run build && npm run tr",
|
||||||
"install:clean": "npm cache clean --force && rm -rf node_modules package-lock.json && npm install"
|
"install:clean": "npm cache clean --force && rm -rf node_modules package-lock.json && npm install",
|
||||||
|
"install:vite8": "npm install --force"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/preset-typescript": "^7.28.4",
|
"@babel/preset-typescript": "^7.28.4",
|
||||||
|
|||||||
Reference in New Issue
Block a user