Skip to content

fix: 💚 fix runner.os #18

fix: 💚 fix runner.os

fix: 💚 fix runner.os #18

Workflow file for this run

name: Test
on:
- push
jobs:
setup:
uses: ./.github/workflows/setup.workflow.yml
with:
cache-key: ${{ runner.os }}-npm-v1-${{ hashFiles('**/package-lock.json') }}

Check failure on line 10 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 10, Col: 18): Unrecognized named-value: 'runner'. Located at position 1 within expression: runner.os .github/workflows/test.yml (Line: 12, Col: 18): Unrecognized named-value: 'runner'. Located at position 1 within expression: runner.os
fetch-depth: 0
runner-os: ${{ runner.os }}
# Run visual and composition tests with Chromatic
visual-and-composition:
needs: setup
runs-on: ubuntu-latest
steps:
- id: test-visual-composition
name: Test Visual and Composition
uses: ./.github/workflows/chromatic.workflow.yml
# Run interaction and accessibility tests
interaction-and-accessibility:
needs: setup
runs-on: ubuntu-latest
steps:
- name: Build Storybook
run: npm run build:storybook --quiet
- name: Serve Storybook and run tests
run: |
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
"npx http-server storybook-static --port 6006 --silent" \
"npx wait-on tcp:6006 && npm run test:storybook"
# Run user flow tests with Cypress
user-flow:
needs: setup
runs-on: ubuntu-latest
steps:
- id: test-user-flow
name: Test User Flow
uses: ./.github/workflows/cypress.workflow.yml