From 4d4dc295b9c1ffd53f6ffa2423de0da4ae82adcc Mon Sep 17 00:00:00 2001 From: Zefir Kirilov Date: Fri, 13 Mar 2026 09:33:15 +0200 Subject: [PATCH 1/2] Added dependabot --- .github/dependabot.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/dependabot.yaml diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml new file mode 100644 index 0000000..51ebe93 --- /dev/null +++ b/.github/dependabot.yaml @@ -0,0 +1,15 @@ +version: 2 +updates: + - package-ecosystem: npm + directory: / + schedule: + interval: weekly + day: monday + time: "06:00" + + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly + day: monday + time: "06:00" From 0fd726cf987e1dfafa6fc948fd1d5b0ba259053c Mon Sep 17 00:00:00 2001 From: Zefir Kirilov Date: Fri, 13 Mar 2026 09:43:49 +0200 Subject: [PATCH 2/2] added build CI --- .github/workflows/build.yaml | 46 ++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..f9d2ac9 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,46 @@ +name: Build + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v6 + + - name: Setup Node.js + uses: actions/setup-node@v6 + with: + node-version: 24 + registry-url: https://registry.npmjs.org/ + cache: npm + + - name: Install latest NPM + run: npm i -g npm@latest + + - name: Install dependencies + run: npm ci + + - name: Build + run: npm run build + + - name: Set up GitHub pages + if: github.ref == 'refs/heads/main' + uses: actions/configure-pages@v5 + + - name: Upload artifact to pages + if: github.ref == 'refs/heads/main' + uses: actions/upload-pages-artifact@v3 + with: + path: dist + + - name: Deploy to GitHub Pages + if: github.ref == 'refs/heads/main' + id: deployment + uses: actions/deploy-pages@v4