Skip to content

Additional swirl-modal options & aria-label in swirl-switch #3612

Additional swirl-modal options & aria-label in swirl-switch

Additional swirl-modal options & aria-label in swirl-switch #3612

Workflow file for this run

name: Lint & Test
on:
push:
branches:
- main
paths-ignore:
- apps/swirl-docs/**/*
- packages/swirl-icons/dart/lib/fonts/flip-legacy-icons.ttf
- packages/swirl-icons/dart/lib/fonts/swirl-icons.ttf
- packages/swirl-tokens/dart/lib/styles.dark.dart
- packages/swirl-tokens/dart/lib/styles.light.dart
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- main
paths-ignore:
- apps/swirl-docs/**/*
- packages/swirl-icons/dart/lib/fonts/flip-legacy-icons.ttf
- packages/swirl-icons/dart/lib/fonts/swirl-icons.ttf
- packages/swirl-tokens/dart/lib/styles.dark.dart
- packages/swirl-tokens/dart/lib/styles.light.dart
jobs:
lint_and_test_job:
runs-on: ubuntu-latest
env:
TESTVARIABLE_ADAM: "adam"
ALGOLIA_SEARCH_ADMIN_KEY: ${{ secrets.ALGOLIA_SEARCH_ADMIN_KEY }}
SITE_PASSWORD: ${{ secrets.SITE_PASSWORD }}
GITLAB_FLIP_REPO_ID: ${{ secrets.GITLAB_FLIP_REPO_ID }}
GITLAB_ACCESS_TOKEN: ${{ secrets.GITLAB_ACCESS_TOKEN }}
REFERENCE_BRANCH: ${{ secrets.REFERENCE_BRANCH }}
NEXT_PUBLIC_ALGOLIA_APP_ID: ${{ secrets.NEXT_PUBLIC_ALGOLIA_APP_ID }}
NEXT_PUBLIC_ALGOLIA_SEARCH_API_KEY:
${{ secrets.NEXT_PUBLIC_ALGOLIA_SEARCH_API_KEY }}
NEXT_PUBLIC_DEPLOYMENT_STAGE: ${{ secrets.NEXT_PUBLIC_DEPLOYMENT_STAGE }}
name: Lint and Test Job
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: yarn
- run: yarn build --filter=@getflip/swirl-tokens
- run: npx turbo run prebuild # needed for swirl-docs tests
- run: yarn lint
- run: yarn test