docs: update changelog #7697
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
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 |