This repository has been archived by the owner on Oct 17, 2024. It is now read-only.
chore: move Next.js no-cache into fetchCache property #30
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
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
- name: Install | |
run: | | |
npm ci | |
bash third_party/sync.sh | |
npm run build --workspaces | |
- name: Install Playwright browsers | |
run: npx playwright install --with-deps chromium | |
- name: Test | |
run: npm run test |