Skip to content

Bump pnpm/action-setup from 3 to 4 (#453) #113

Bump pnpm/action-setup from 3 to 4 (#453)

Bump pnpm/action-setup from 3 to 4 (#453) #113

Workflow file for this run

name: Deploy VuePress
on:
push:
branches: [ develop ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 8.x.x
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install and Build 🔧
run: |
pnpm install
pnpm docs:build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs/.vuepress/dist