diff --git a/.gitea/workflows/frontend.yml b/.gitea/workflows/frontend.yml index e4467c0..15d6ecb 100644 --- a/.gitea/workflows/frontend.yml +++ b/.gitea/workflows/frontend.yml @@ -18,21 +18,17 @@ jobs: name: Build, Lint & Test runs-on: self-hosted container: - image: mirror2.chabokan.net/ubuntu:22.04 + image: mirror2.chabokan.net/ubuntu:24.04 options: --add-host gitea:172.17.0.1 steps: - name: Setup Ubuntu apt mirrors run: | tee /etc/apt/sources.list > /dev/null <<'EOF' - deb http://mirror.iranserver.com/ubuntu/ jammy main restricted universe multiverse - deb http://mirror.iranserver.com/ubuntu/ jammy-updates main restricted universe multiverse - deb http://mirror.iranserver.com/ubuntu/ jammy-security main restricted universe multiverse - deb http://mirror.iranserver.com/ubuntu/ jammy-backports main restricted universe multiverse - - deb [trusted=yes] https://mirror2.chabokan.net/ubuntu focal main universe - deb [trusted=yes] https://mirror2.chabokan.net/ubuntu focal-updates main universe - deb [trusted=yes] https://mirror2.chabokan.net/ubuntu focal-security main universe + deb http://mirror.iranserver.com/ubuntu/ noble main restricted universe multiverse + deb http://mirror.iranserver.com/ubuntu/ noble-updates main restricted universe multiverse + deb http://mirror.iranserver.com/ubuntu/ noble-security main restricted universe multiverse + deb http://mirror.iranserver.com/ubuntu/ noble-backports main restricted universe multiverse EOF apt-get update @@ -47,19 +43,12 @@ jobs: - name: Configure NPM Mirrors run: | npm config set registry https://package-mirror.liara.ir/repository/npm/ - npm config set @runflare:registry https://mirror-npm.runflare.com/ npm config set @chabokan:registry https://mirror2.chabokan.net/npm/ - npm config set strict-ssl false npm config set fetch-retries 5 npm config set fetch-retry-mintimeout 20000 - - name: Test - run: | - ls - pwd - - name: Install dependencies run: | npm install --registry=https://package-mirror.liara.ir/repository/npm/ @@ -71,4 +60,3 @@ jobs: - name: Run Lint run: | npm run lint --if-present -