Skip to content

Commit

Permalink
Disable changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
macobo committed Oct 29, 2024
1 parent 2d0c564 commit 45ad20a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/playwright-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ jobs:
with:
node-version: ${{ steps.versions.outputs.nodejs }}

- run: sudo apt install faketime

- uses: actions/cache@v4
id: cache
with:
Expand All @@ -82,12 +84,14 @@ jobs:
run: npm run playwright:install --prefix assets

- run: mix deps.get
- run: mix do ecto.reset

- name: Setup and seed database
run: faketime -f "@2024-10-01 00:00:00" mix do ecto.reset

- run: mix run -e "Tzdata.ReleaseUpdater.poll_for_update"

- name: Run Playwright tests
run: |
sudo apt install faketime
faketime -f "@2024-10-01 00:00:00" npm run playwright --prefix assets
- name: Commit new snapshots
Expand Down
2 changes: 1 addition & 1 deletion assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ if (triggers.length > 0) {

const changelogNotification = document.getElementById('changelog-notification')

if (changelogNotification) {
if (changelogNotification && false) {

Check failure on line 61 in assets/js/app.js

View workflow job for this annotation

GitHub Actions / Build and test

Unexpected constant condition
showChangelogNotification(changelogNotification)

fetch('https://plausible.io/changes.txt', { headers: { 'Content-Type': 'text/plain' } })
Expand Down
4 changes: 2 additions & 2 deletions assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"lint": "npm run eslint && npm run stylelint",
"typecheck": "tsc --noEmit --pretty",
"generate-types": "json2ts ../priv/json-schemas/query-api-schema.json ../assets/js/types/query-api.d.ts",
"playwright": "playwright test --update-snapshots",
"playwright:ui": "playwright test --ui --update-snapshots",
"playwright": "playwright test",
"playwright:ui": "playwright test --ui",
"playwright:install": "playwright install chromium --with-deps"
},
"dependencies": {
Expand Down

0 comments on commit 45ad20a

Please sign in to comment.