Skip to content

feat:republish to fix workspace dep version #33

feat:republish to fix workspace dep version

feat:republish to fix workspace dep version #33

Workflow file for this run

name: CI
on:
push:
branches:
- master
jobs:
build:
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- name: Check out repo's default branch
uses: actions/checkout@v3
with:
ref: "master"
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 16
- name: echo git log
run: git log --reverse
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 7
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm run build_theme_demo
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: build