From 40b06740fdc3f384c0d31ecf64fd50d62318e7e2 Mon Sep 17 00:00:00 2001 From: Jonathan Sharpe Date: Sun, 1 Dec 2024 11:40:34 +0000 Subject: [PATCH] Update Playwright deps and trigger rebuild --- .github/workflows/deps.yml | 4 ++++ .github/workflows/push.yml | 1 + bin/up-to-date.sh | 1 + 3 files changed, 6 insertions(+) diff --git a/.github/workflows/deps.yml b/.github/workflows/deps.yml index 5e72f741..93ec7888 100644 --- a/.github/workflows/deps.yml +++ b/.github/workflows/deps.yml @@ -9,6 +9,7 @@ jobs: update: runs-on: ubuntu-latest permissions: + actions: write contents: write services: postgres: @@ -34,3 +35,6 @@ jobs: git config --global user.name "gh-actions" git config --global user.email "actions@github.com" - run: ./bin/up-to-date.sh + - run: gh workflow run push.yml + env: + GH_TOKEN: ${{ github.token }} diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 2b7e5a41..997783d0 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -5,6 +5,7 @@ on: branches: [main] pull_request: branches: [main] + workflow_dispatch: jobs: windows: diff --git a/bin/up-to-date.sh b/bin/up-to-date.sh index c372c2de..16581209 100755 --- a/bin/up-to-date.sh +++ b/bin/up-to-date.sh @@ -25,6 +25,7 @@ if [ -z "$(git status --porcelain)" ]; then exit 0 fi +useNpm exec -- playwright install-deps useNpm exec -- playwright install useNpm run migration up useNpm run ship