Skip to content

176 web animation techniques, each a live demo with plain settings and a ready-made prompt for your AI assistant. No dependencies, no build step.

test: the tests run on GitHub Actions for every push to main and every pull request (Node 22, read-only token)

matincfef59a86c0f
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
new file mode 100644
index 00000000..a7092eb1
--- /dev/null
+++ b/.github/workflows/tests.yml
@@ -0,0 +1,21 @@
+# Runs the static tests (every page and its README, the shared stylesheet, the home page) on every push to main and on
+# every pull request. Nothing to install: the tests use Node's own test runner.
+name: Tests
+
+on:
+ push:
+ branches: [main]
+ pull_request:
+
+permissions:
+ contents: read
+
+jobs:
+ tests:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-node@v4
+ with:
+ node-version: 22
+ - run: node --test "tests/*.test.js"