From 6943290f7ea310f16e2b78aca62ea77527f64d1a Mon Sep 17 00:00:00 2001 From: Bruce Schultz Date: Tue, 28 Oct 2025 07:15:43 +0100 Subject: [PATCH 1/3] build: add run build check for PRs --- .github/workflows/ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..da0dcc0c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,19 @@ +name: CI + +on: + pull_request: + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 16 + + - name: Install + run: npm ci + + - name: Build + run: npm run build From 404447b92e5309848ef12536dd4903c9e5d52aa1 Mon Sep 17 00:00:00 2001 From: Bruce Schultz Date: Tue, 28 Oct 2025 07:15:47 +0100 Subject: [PATCH 2/3] build: ignore localhost dead links --- src/.vitepress/config.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/.vitepress/config.mjs b/src/.vitepress/config.mjs index 91372b9b..3f6c45fe 100644 --- a/src/.vitepress/config.mjs +++ b/src/.vitepress/config.mjs @@ -6,6 +6,7 @@ export default defineConfig({ title: 'PrivateAim', base: '/', head: [['link', {rel: 'icon', href: '/images/icon/favicon.ico'}]], + ignoreDeadLinks: "localhostLinks", themeConfig: { socialLinks: [ {icon: 'github', link: 'https://github.com/PrivateAim'}, From bb313f18298ba43eb004304bf8cae69770272182 Mon Sep 17 00:00:00 2001 From: Bruce Schultz Date: Tue, 28 Oct 2025 07:17:42 +0100 Subject: [PATCH 3/3] build: change CI job name to build --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da0dcc0c..f9b41a74 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ on: pull_request: jobs: - deploy: + build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4