Skip to content

E2E / Cron / Update Cache #8

E2E / Cron / Update Cache

E2E / Cron / Update Cache #8

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"