From 790ce0fdd834c5b1974186d0b2e39007248c1f77 Mon Sep 17 00:00:00 2001 From: "Dr. Patrick Urbanke" Date: Sun, 27 Sep 2026 22:47:08 +0200 Subject: [PATCH 1/2] Added automated builds and audits --- .github/workflows/ci.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 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..a5f1bf7 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,30 @@ +name: Build and audit + +on: + pull_request: + branches: main + +jobs: + build-and-audit: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [20.x, 22.x] + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: npm + + - name: Install dependencies + run: npm ci + + - name: Build website + run: npm run build + + - name: Run security audit + run: npm audit --production --audit-level=moderate From 82630c82ee2513c784fe0cf50c5ef6b9e3a6c49d Mon Sep 17 00:00:00 2001 From: "Dr. Patrick Urbanke" Date: Sun, 27 Sep 2026 22:52:13 +0200 Subject: [PATCH 2/2] Fixed node versions --- .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 a5f1bf7..575913e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [20.x, 22.x] + node-version: [22.x, 24.x, 26.x] steps: - name: Checkout repository uses: actions/checkout@v4