Skip to content

build(deps-dev): Bump vite from 4.5.0 to 4.5.2 #36

build(deps-dev): Bump vite from 4.5.0 to 4.5.2

build(deps-dev): Bump vite from 4.5.0 to 4.5.2 #36

Workflow file for this run

name: github pages
on:
push:
branches-ignore:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: false
fetch-depth: 0
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
- 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: download avatars
run: curl -f "https://avatars.githubusercontent.com/u/51754303?s=40" -o ./public/favicon.ico
- name: node prepare
run: pnpm i
- name: node test
run: pnpm test run
- name: node build
run: pnpm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./dist