Skip to content

chore: bump vite from 4.4.7 to 4.4.12 #8630

chore: bump vite from 4.4.7 to 4.4.12

chore: bump vite from 4.4.7 to 4.4.12 #8630

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
branches:
- "**"
env: # Set environment variables for every job and step in this workflow
CLICOLOR: "1" # Enable colors for *NIX commands
PY_COLORS: "1" # Enable colors for Python-based utilities
FORCE_COLOR: "1" # Force colors in the terminal
STREAMLINE_SECRET: ${{ secrets.STREAMLINE_SECRET }}
STREAMLINE_FAMILIES: ${{ secrets.STREAMLINE_FAMILIES }}
jobs:
types:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Node
uses: ./.github/actions/node
- name: Build
env:
GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }}
run: |
yarn tokens build
yarn tailwind-preset build
yarn components build
yarn tracking build
yarn themer build
- name: Type checks
run: yarn check:types && yarn flow check
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Node
uses: ./.github/actions/node
- name: Build
env:
GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }}
run: |
yarn tokens build
yarn tailwind-preset build
yarn components build
yarn tracking build
yarn themer build
- name: Lint
run: |
yarn eslint:ci
yarn prettier:test
yarn check:css
unit:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Node
uses: ./.github/actions/node
- name: Build
env:
GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }}
run: |
yarn tokens build
yarn tailwind-preset build
yarn components build
yarn tracking build
yarn themer build
- name: Unit tests
env:
FIGMA_TOKEN: ${{ secrets.FIGMA_TOKEN }}
run: |
yarn tailwind-preset pretest
yarn test-ci
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Node
uses: ./.github/actions/node
- name: Restore Gatsby cache
uses: actions/cache@v3
with:
path: |
docs/.cache
docs/public
key: gatsby-${{ github.ref}}-${{ hashFiles('docs/gatsby-config.js', 'docs/gatsby-node.js') }}
restore-keys: |
gatsby-${{ github.ref}}-
gatsby-
- name: Build
env:
FIGMA_TOKEN: ${{ secrets.FIGMA_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GATSBY_EXPERIMENTAL_PAGE_BUILD_ON_DATA_CHANGES: true
NODE_OPTIONS: "--max_old_space_size=4096"
run: |
yarn orbit-kiwi:build
- name: Check links
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: yarn check:links
test-ct:
name: Test Components
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.39.0-jammy
strategy:
fail-fast: false
matrix:
shard: [1/4, 2/4, 3/4, 4/4]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install
uses: ./.github/actions/node
- name: Build
run: |
apt-get update
apt-get install zip --yes
yarn tokens build
yarn tailwind-preset build
yarn components build
- name: Test Components
run: yarn components test-ct --shard ${{ matrix.shard }}
- name: Upload Results
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-results
path: packages/orbit-components/test-results/
retention-days: 7
cypress:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Node
uses: ./.github/actions/node
- name: Build
run: |
yarn tokens build
yarn tailwind-preset build
yarn components build
- name: Cypress
uses: cypress-io/github-action@v6
with:
browser: chrome
install: false
working-directory: packages/orbit-components
start: yarn cy:dev