Skip to content

Switch to pnpm and support vite v5 #1

Switch to pnpm and support vite v5

Switch to pnpm and support vite v5 #1

Workflow file for this run

name: Main
on:
push:
branches: [master]
jobs:
build:
name: Build and eventually publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm build
- name: Publish
if: startsWith(github.ref, 'refs/tags/v')
run: pnpm publish --access public