E2E / Cron / Update Cache #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: E2E / Cron / Update Cache | |
on: | |
schedule: | |
- cron: '0 6 */7 * *' | |
jobs: | |
Portfolio_E2E_Cron_Update_Cache: | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: main | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Get node version | |
id: node | |
run: | | |
echo "version=$(node -v)" >> $GITHUB_OUTPUT | |
- name: Get node_modules cache | |
uses: actions/[email protected] | |
id: node_modules | |
with: | |
path: | | |
**/node_modules | |
key: basekey-test | |
- name: Run vercel tests | |
run: npx playwright test --grep "@vercel" --project="Chrome_With_Media" | |