Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
chore(ci): remove dead steps and fix stale path filters
Minh1411205afc9f539fcd
diff --git a/.github/workflows/clean-cloudflare-page-preview-url-and-r2.yml b/.github/workflows/clean-cloudflare-page-preview-url-and-r2.ymlindex c2b20e397..57941bc28 100644--- a/.github/workflows/clean-cloudflare-page-preview-url-and-r2.yml+++ b/.github/workflows/clean-cloudflare-page-preview-url-and-r2.yml@@ -8,7 +8,7 @@ jobs:clean-cloudflare-pages-preview-urls:strategy:matrix:- project: ["nitro", "docs"]+ project: ["docs"]runs-on: ubuntu-lateststeps:- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5diff --git a/.github/workflows/jan-linter-and-test.yml b/.github/workflows/jan-linter-and-test.ymlindex ff6eadf88..b26dd1660 100644--- a/.github/workflows/jan-linter-and-test.yml+++ b/.github/workflows/jan-linter-and-test.yml@@ -6,15 +6,13 @@ on:- mainpaths:- .github/workflows/jan-linter-and-test.yml- - 'web/**'- - 'joi/**'- 'package.json'- - 'node_modules/**'- 'yarn.lock'- 'core/**'- 'extensions/**'- - '!README.md'- 'Makefile'+ - 'src-tauri/**'+ - 'web-app/**'pull_request:branches:@@ -22,17 +20,13 @@ on:- release/**paths:- .github/workflows/jan-linter-and-test.yml- - 'web/**'- - 'joi/**'- 'package.json'- - 'node_modules/**'- 'yarn.lock'- 'Makefile'- 'extensions/**'- 'core/**'- 'src-tauri/**'- 'web-app/**'- - '!README.md'concurrency:group: linter-test-${{ github.ref }}@@ -132,8 +126,6 @@ jobs:steps:- name: Getting the repouses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6- with:- fetch-depth: 0- name: Installing nodeuses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4@@ -172,8 +164,6 @@ jobs:steps:- name: Getting the repouses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6- with:- fetch-depth: 0- name: Installing nodeuses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4@@ -211,8 +201,6 @@ jobs:steps:- name: Getting the repouses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6- with:- fetch-depth: 0- name: install dependenciesrun: |@@ -235,12 +223,6 @@ jobs:}make clean- - name: Install WebView2 Runtime (Bootstrapper)- shell: powershell- run: |- Invoke-WebRequest -Uri 'https://go.microsoft.com/fwlink/p/?LinkId=2124703' -OutFile 'setup.exe'- Start-Process -FilePath setup.exe -Verb RunAs -Wait-- name: Config Yarnrun: |corepack enable@@ -256,24 +238,11 @@ jobs:NODE_OPTIONS: '--max-old-space-size=2048'test-on-ubuntu:- runs-on: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) && 'ubuntu-latest' || 'ubuntu-latest' }}+ runs-on: ubuntu-latestif: github.event_name == 'pull_request' || github.event_name == 'push' || github.event_name == 'workflow_dispatch'steps:- name: Getting the repouses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6- with:- fetch-depth: 0-- - name: Free Disk Space (Ubuntu)- uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1- with:- tool-cache: false- android: true- dotnet: true- haskell: true- large-packages: true- docker-images: true- swap-storage: true- name: Installing nodeuses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4@@ -304,13 +273,6 @@ jobs:echo -e "Display ID: $DISPLAY"make test- - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4- if: always()- with:- name: playwright-report- path: electron/playwright-report/- retention-days: 2-coverage-check:if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repositoryruns-on: ubuntu-latest@@ -319,8 +281,6 @@ jobs:steps:- name: Getting the repouses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6- with:- fetch-depth: 0- name: Installing nodeuses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4diff --git a/.github/workflows/publish-npm-core.yml b/.github/workflows/publish-npm-core.ymlindex 983826ba9..757f84990 100644--- a/.github/workflows/publish-npm-core.yml+++ b/.github/workflows/publish-npm-core.yml@@ -2,7 +2,6 @@ name: Publish core Package to npmjson:push:tags: ['v[0-9]+.[0-9]+.[0-9]+-core']- paths: ['core/**', '.github/workflows/publish-npm-core.yml']workflow_dispatch:jobs:build-and-publish-plugins: