mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-09 03:42:06 +08:00
revert: CI autobuild on Ubuntu 22.04 (#6547)
* chore: config
* Revert "ci: update Ubuntu version to 24.04 and adjust dependencies in autobuild workflow"
This reverts commit 863a80df43.
This commit is contained in:
+2
-1
@@ -1 +1,2 @@
|
||||
.github/workflows/*.lock.yml linguist-generated=true merge=ours
|
||||
.github/workflows/*.lock.yml linguist-generated=true merge=ours
|
||||
Changelog.md merge=union
|
||||
|
||||
@@ -137,7 +137,7 @@ jobs:
|
||||
target: aarch64-apple-darwin
|
||||
- os: macos-latest
|
||||
target: x86_64-apple-darwin
|
||||
- os: ubuntu-24.04
|
||||
- os: ubuntu-22.04
|
||||
target: x86_64-unknown-linux-gnu
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
@@ -165,19 +165,10 @@ jobs:
|
||||
cache-workspace-crates: true
|
||||
|
||||
- name: Install dependencies (ubuntu only)
|
||||
if: matrix.os == 'ubuntu-24.04'
|
||||
if: matrix.os == 'ubuntu-22.04'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt install \
|
||||
libwebkit2gtk-4.1-dev \
|
||||
build-essential \
|
||||
curl \
|
||||
wget \
|
||||
file \
|
||||
libxdo-dev \
|
||||
libssl-dev \
|
||||
libayatana-appindicator3-dev \
|
||||
librsvg2-dev
|
||||
sudo apt-get install -y libxslt1.1 libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev patchelf
|
||||
|
||||
- name: Install x86 OpenSSL (macOS only)
|
||||
if: matrix.target == 'x86_64-apple-darwin'
|
||||
|
||||
+5
-1
@@ -34,7 +34,11 @@ export default defineConfig([
|
||||
globals: globals.browser,
|
||||
parserOptions: {
|
||||
projectService: {
|
||||
allowDefaultProject: ['eslint.config.ts', 'src/polyfills/*.js'],
|
||||
allowDefaultProject: [
|
||||
'eslint.config.ts',
|
||||
`vite.config.mts`,
|
||||
'src/polyfills/*.js',
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
+1
-1
@@ -127,7 +127,7 @@
|
||||
"eslint --fix --max-warnings=0",
|
||||
"prettier --write"
|
||||
],
|
||||
"*.{js,mjs,css,scss,json,md,toml}": [
|
||||
"*.{js,mjs,css,scss,json,md,toml,yaml,yml}": [
|
||||
"prettier --write"
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user