diff --git a/.DS_Store b/.DS_Store index 20d52eb..eed10fa 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..c5b7b6c --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,36 @@ +name: CI + +on: + push: + pull_request: + +jobs: + regression: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install dependencies + run: npm ci + + - name: Install Playwright browser + run: npx playwright install --with-deps chromium + + - name: Run regression tests + run: npm test + + - name: Upload Playwright report + if: failure() + uses: actions/upload-artifact@v3 + with: + name: playwright-report + path: playwright-report/ + + - name: Upload Playwright test results + if: failure() + uses: actions/upload-artifact@v3 + with: + name: test-results + path: test-results/ diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..560a8c6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +node_modules/ +playwright-report/ +test-results/ +.hermes/ diff --git a/fancy-wordle-modern.html b/fancy-wordle-modern.html index f8b253c..fa3b2bb 100644 --- a/fancy-wordle-modern.html +++ b/fancy-wordle-modern.html @@ -10,7 +10,7 @@ - +