Skip to content

ci: latest pnpm version #3

ci: latest pnpm version

ci: latest pnpm version #3

Workflow file for this run

on:
- push
- pull_request
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- run: pnpm install
- run: pnpm run test
publish:
runs-on: ubuntu-latest
needs: test
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- run: pnpm install
- run: pnpm run build
- run: pnpm run build-storybook
- uses: JamesIves/github-pages-deploy-action@v4
with:
folder: storybook-static