Update xstate monorepo to v5 (major) #1730
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 | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
redwood-ci: | |
name: 🌲 Redwood CI | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🌲 Redwood CI | |
uses: redwoodjs/project-ci-action@main | |
- run: npx playwright install --with-deps | |
- name: 🎭 Playwright E2E Tests | |
run: npx playwright test e2e | |
env: | |
DATABASE_URL: postgresql://test:password@localhost:5432/test | |
STRIPE_PUBLISHABLE_KEY: ${{ secrets.STRIPE_PUBLISHABLE_KEY }} | |
STRIPE_SECRET_KEY: ${{ secrets.STRIPE_SECRET_KEY }} | |
SESSION_SECRET: ${{ secrets.SESSION_SECRET }} | |
STRIPE_WEBHOOK_KEY: ${{ secrets.STRIPE_WEBHOOK_KEY }} | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: test-results | |
path: test-results/ | |
retention-days: 30 | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: example-store-e2e-web-server.log | |
path: /tmp/example-store-e2e-web-server.log | |
retention-days: 30 | |