fix(dev-server): add caches
which to do nothing to cloudflare adapt…
#186
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: ci-dev-server | |
on: | |
push: | |
branches: [main] | |
paths: | |
- 'packages/dev-server/**' | |
pull_request: | |
branches: ['*'] | |
paths: | |
- 'packages/dev-server/**' | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./packages/dev-server | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
- run: yarn install | |
- run: yarn build | |
- run: npx playwright install --with-deps | |
- run: yarn test | |
ci-bun: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./packages/dev-server | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: '1.0.25' | |
- run: bun install | |
- run: npx playwright install --with-deps | |
- run: bun run test:e2e:bun |