Skip to content

Migrate site to Vite and Vike for SSG #638

Migrate site to Vite and Vike for SSG

Migrate site to Vite and Vike for SSG #638

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
name: Test
runs-on: ubuntu-latest
env:
CI: true
steps:
- name: Checkout Repo
uses: actions/checkout@main
- name: Set up pnpm
uses: pnpm/action-setup@v2
- 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@v3
with:
name: built-storybook
path: storybook-static
if-no-files-found: error