Skip to content

docs: main page #34

docs: main page

docs: main page #34

Workflow file for this run

name: CI
on:
push:
branches: [main, beta]
pull_request:
types: [opened, synchronize, reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
command:
[
'yarn workspace overlay-kit run test',
'yarn workspace overlay-kit run test:attw',
'yarn workspace overlay-kit run test:publint',
'yarn lint',
'yarn workspace @overlay-kit/framer-motion-react-16 run build',
'yarn workspace @overlay-kit/framer-motion-react-17 run build',
'yarn workspace @overlay-kit/framer-motion-react-18 run build',
'yarn workspace @overlay-kit/framer-motion-react-19 run build',
]
steps:
- uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install Dependencies
run: yarn install
- name: Build Package
run: yarn workspace overlay-kit run build
- name: Run command
run: ${{ matrix.command }}
- if: matrix.command == 'yarn workspace overlay-kit run test'
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}