diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..f15441a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,12 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +indent_style = space +indent_size = 2 + +[*.md] +trim_trailing_whitespace = false diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..32c4dfc --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,7 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: "/" + schedule: + interval: weekly + open-pull-requests-limit: 5 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..d540082 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,38 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + workflow_dispatch: + +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + checks: + name: Static site checks + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v7 + - name: Setup Node + uses: actions/setup-node@v7 + with: + node-version: 22 + - name: JavaScript syntax check + run: node --check app.js + - name: HTML validation + run: npx --yes html-validate@11.16.2 index.html + - name: Required assets exist + run: | + status=0 + for f in index.html styles.css app.js .nojekyll; do + if [ ! -f "$f" ]; then echo "::error::missing required file: $f"; status=1; fi + done + exit $status diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index 86bcfba..67083c2 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -22,13 +22,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Setup Pages - uses: actions/configure-pages@v5 + uses: actions/configure-pages@v6 - name: Upload artifact - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@v5 with: path: . + include-hidden-files: true - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v5 diff --git a/index.html b/index.html index 0b265a3..70193ae 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ - +
@@ -20,14 +20,14 @@ @@ -40,15 +40,15 @@Your open loops
Capture the things you are waiting on, then give them a gentle next nudge. Less mental juggling. More forward motion.
Capture the things you are waiting on, then give them a gentle next nudge. Less mental juggling. More forward motion.
Everything still in motion.
Everything still in motion.
Capture the next reply, decision, or errand you do not want to keep carrying in your head.
Capture the next reply, decision, or errand you do not want to keep carrying in your head.