Skip to content

Import playroom exports from actual entries #5863

Import playroom exports from actual entries

Import playroom exports from actual entries #5863

Workflow file for this run

name: Validate
on:
- push
- pull_request
jobs:
skip_check:
name: Check concurrent runs
runs-on: ubuntu-latest
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- uses: fkirc/skip-duplicate-actions@v5
id: skip_check
with:
concurrent_skipping: same_content_newer
# We want to skip only concurrent runs. Subsequent runs/retries should be allowed.
skip_after_successful_duplicate: false
test:
name: Lint & Test
needs: skip_check
if: needs.skip_check.outputs.should_skip != 'true'
runs-on: ubuntu-latest
env:
CI: true
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
# This makes Actions fetch all Git history so that chromatic can diff against previous commits
fetch-depth: 0
- name: Set up pnpm
uses: pnpm/action-setup@v2
- name: Set up Node.js
uses: actions/setup-node@v3
with:
cache: pnpm
node-version-file: package.json
- name: Install Dependencies
run: pnpm i
- name: Lint
run: pnpm lint
- name: Build & Test
run: |
pnpm test
pnpm build
pnpm postbuild
- name: Chromatic
run: pnpm storybook:chromatic
env:
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_APP_CODE }}