diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..2e712aa --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,16 @@ +version: 2 +updates: + - package-ecosystem: npm + directory: "/" + schedule: + interval: monthly + open-pull-requests-limit: 5 + groups: + minor-and-patch: + update-types: + - minor + - patch + - package-ecosystem: github-actions + directory: "/" + schedule: + interval: monthly diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..04eec44 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,26 @@ +name: CI +on: + push: + branches: [main] + pull_request: + +permissions: + contents: read + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + with: + persist-credentials: false + - uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4 + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 + with: + node-version: 22 + cache: pnpm + - run: pnpm install --frozen-lockfile + - run: pnpm check + - run: pnpm build + - name: No known high or critical vulnerabilities in production dependencies + run: pnpm audit --prod --audit-level high diff --git a/README.md b/README.md index abf0a32..f994e41 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,12 @@ The offline logic is in `src/sw/worker.js` (tested in `worker.test.ts`), the sam It is a static site (Vite + vanilla TypeScript) with no environment variables or secrets, hosted on Vercel, which builds it from this repository (`vercel.json` sets a strict Content Security Policy: only this site's own files, no inline scripts or styles). +## Maintenance + +This app is looked after, not left behind. Dependabot proposes dependency updates. The Somebody Build This steward checks on the app each month and reviews security alerts in a weekly security check. Updates go through review and automated checks before they are merged. + +Found a problem? [Open an issue](https://github.com/TeeKraken/column-reader/issues) on this repository and describe what happened. + ## Build your own version Want to build your own version? Ideas never lock: anyone can build this idea too. This is just one take on [the idea](https://somebodybuildthis.dev/ideas/40-a-way-to-tap-one-article-in-a-newspaper-pdf-and-read-just-th), and anyone is welcome to build their own version and ship it there too.