Skip to content

add safari note

add safari note #8

Workflow file for this run

# This is a starting workflow for building with GitHub Actions
name: Build
on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
# Check out code
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
# Set up the build environment
- run: npm ci --prefix "./app/"
# Build
- name: Copy our kickstart file over so it gets picked up
run: mkdir faDockerComposeFilePath/ && cp -r kickstart faDockerComposeFilePath/ && cp kickstart/kickstart.json faDockerComposeFilePath/kickstart/k2.json
- name: Start FusionAuth
uses: fusionauth/fusionauth-github-action@v1
with:
FUSIONAUTH_VERSION: 1.48.3
FUSIONAUTH_APP_KICKSTART_DIRECTORY_PATH: kickstart
- name: Install npm dependencies
run: |
npm install
npx playwright install-deps
npx playwright install
working-directory: ./app
- name: Start app
run: npm run dev & # & in background
working-directory: ./app
- name: Run Playwright tests
run: npx playwright test --project=chromium
working-directory: ./app
# only for debugging playwright errors
# - uses: actions/upload-artifact@v4
# if: always()
# with:
# name: playwright-screenshot
# path: app/screenshot.png
# retention-days: 2
# Done!