Skip to content

fix(deps): update all non-major dependencies [] #549

fix(deps): update all non-major dependencies []

fix(deps): update all non-major dependencies [] #549

Workflow file for this run

name: Basic Tests
on:
pull_request:
branches:
- main
- develop
jobs:
test:
name: "Run eslint / type-check / test"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
run_install: false
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
node-version-file: '.tool-versions'
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- name: Install dependencies
run: pnpm install --frozen-lockfile --ignore-scripts
- name: eslint
run: pnpm lint
- name: tsc
run: pnpm type-check
- name: test
run: pnpm test
storybook:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
run_install: false
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
node-version-file: '.tool-versions'
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- name: Install dependencies
run: pnpm install --frozen-lockfile --ignore-scripts
- name: Build Storybook
run: pnpm build-storybook --quiet
- name: Add package for storybook test
run: pnpm add -D concurrently wait-on http-server
- name: Install Playwright
run: pnpm playwright install chromium # or --with-deps
- name: Serve Storybook and run tests
run: |
pnpm concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
"pnpm http-server storybook-static --port 6006 --silent" \
"pnpm wait-on tcp:127.0.0.1:6006 && pnpm test-storybook"