Skip to content

Version Packages (#203) #962

Version Packages (#203)

Version Packages (#203) #962

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
name: Test
runs-on: ubuntu-latest
if: (github.event_name != 'pull_request' && !github.event.pull_request.head.repo.fork) || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork)
env:
CI: true
steps:
- name: Checkout Repo
uses: actions/checkout@main
- name: Set up pnpm
uses: pnpm/action-setup@v3
- name: Setup Node.js
uses: actions/setup-node@main
with:
node-version-file: 'package.json'
cache: 'pnpm'
- name: Install Dependencies
run: pnpm i
- name: Test
run: |
pnpm test
pnpm storybook:build
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: built-storybook
path: storybook-static
if-no-files-found: error