Skip to content

chore: Setup Graphite.dev for experimentation #265

chore: Setup Graphite.dev for experimentation

chore: Setup Graphite.dev for experimentation #265

Workflow file for this run

name: test
# As recommended by Graphite
# (https://graphite.dev/docs/github-configuration-guidelines#github-actions)
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches: [main]
# Cancel in-progress jobs for the same work
# (https://graphite.dev/docs/troubleshooting#why-are-my-actions-running-twice)
concurrency:
group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}-${{ github.ref == 'refs/heads/main' && github.sha || ''}}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install devbox
uses: jetpack-io/devbox-install-action@v0.8.0
with:
enable-cache: true
devbox-version: 0.10.1
- name: Install dependencies
run: devbox run pnpm install
- name: Dump Playwright Information
run: |
eval "$(devbox shellenv)"
echo "Playwright: `devbox run pnpm exec playwright --version`"
echo "PLAYWRIGHT_BROWSERS_PATH=$PLAYWRIGHT_BROWSERS_PATH"
- name: Validate and Build
run: |
eval "$(devbox shellenv)"
devbox run pnpm prep
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: "**/playwright-report/"
retention-days: 30