Merge pull request #1517 from nhooyr/fix-daily

ci: Fix daily
This commit is contained in:
Alexander Wang 2023-08-01 09:39:27 -07:00 committed by GitHub
commit a7b949bdfb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -16,7 +16,7 @@ jobs:
with:
go-version-file: ./go.mod
cache: true
- run: COLOR=1 CI_FORCE=1 ./make.sh all race
- run: DAILY=1 COLOR=1 CI_FORCE=1 ./make.sh all race
env:
GITHUB_TOKEN: ${{ secrets._GITHUB_TOKEN }}
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}

View file

@ -14,4 +14,8 @@ if ! go version | grep -qF '1.20'; then
exit 1
fi
if [ "${DAILY-}" ]; then
export FORCE_COLOR=1
npx playwright@1.31.1 install --with-deps chromium
fi
_make "$@"