Skip to content

Commit

Permalink
run server in preview:ci mode
Browse files Browse the repository at this point in the history
  • Loading branch information
devopsmatt committed Oct 26, 2024
1 parent c0642a6 commit 9c069fb
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/frontend_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,16 @@ jobs:
run: yarn install --immutable

- name: Install Pa11y-CI
run: mkdir tmp-ci && cd tmp-ci && yarn add pa11y-ci && cd - && rm -rf tmp-ci
run: |
mkdir tmp-ci
cd tmp-ci
yarn global add pa11y-ci
echo "$(yarn global bin)" >> $GITHUB_PATH
cd - && rm -rf tmp-ci
- name: Run Frontend Server
run: |
yarn run start &
yarn run preview:ci &
sleep 10 # Wait for the server to start up
- name: Run Pa11y Check
Expand Down

0 comments on commit 9c069fb

Please sign in to comment.