Skip to content

perf: flatten home asset waterfall #794

perf: flatten home asset waterfall

perf: flatten home asset waterfall #794

Workflow file for this run

name: πŸš€ Deploy (staging)
on:
push:
tags:
- stage
branches:
- dev
paths-ignore:
- ".vscode/**"
- "scripts/**"
- "README.md"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
jobs:
test:
name: ⚑ Remix Test
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v6
- name: πŸ“¦ Setup pnpm
uses: pnpm/action-setup@v5
- name: βŽ” Setup node
uses: actions/setup-node@v6
with:
node-version: 24
cache: pnpm
- name: πŸ“₯ Install deps
run: pnpm install --frozen-lockfile
- name: 🎭 Install Playwright browsers
run: pnpm run test:install-browsers
- name: ⚑ Run Remix tests
run: pnpm run test
env:
PUBLIC_STOREFRONT_API_TOKEN: ${{ secrets.PUBLIC_STOREFRONT_API_TOKEN }}
deploy:
name: πŸš€ Deploy
runs-on: ubuntu-latest
needs: [test]
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v6
- name: 🎈 Setup Fly
uses: superfly/flyctl-actions/setup-flyctl@1.6
- name: πŸš€ Deploy Staging
run: flyctl deploy --remote-only --config ./fly.staging.toml --strategy bluegreen
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}