From e80fcaa6bffcc1c84259e436b483edc6a50bb03a Mon Sep 17 00:00:00 2001 From: Zane Wang <89945709+zelinewang@users.noreply.github.com> Date: Sun, 12 Jul 2026 18:32:23 -0700 Subject: [PATCH 1/2] ci: retire obsolete GitHub Pages deploy --- .github/workflows/deploy.yml | 37 ------------------------------------ 1 file changed, 37 deletions(-) delete mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 064ec1e..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Deploy to GitHub Pages - -on: - push: - branches: [ main ] - workflow_dispatch: - -permissions: - contents: read - pages: write - id-token: write - -concurrency: - group: "pages" - cancel-in-progress: false - -jobs: - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Setup Pages - uses: actions/configure-pages@v4 - - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 - with: - path: '.' - - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 \ No newline at end of file From 0f123a56715aba3bdf9d6d831f47587fd030d200 Mon Sep 17 00:00:00 2001 From: Zane Wang <89945709+zelinewang@users.noreply.github.com> Date: Sun, 12 Jul 2026 18:34:53 -0700 Subject: [PATCH 2/2] ci: validate static app without deploying --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 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 0000000..6eacc6c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +name: Validate static app + +on: + pull_request: + push: + branches: [main] + +permissions: + contents: read + +jobs: + validate: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Check browser JavaScript syntax + run: node --check src/app.js + + - name: Compile Python helpers + run: python3 -m py_compile scripts/*.py