Skip to content

chore(deps): update dependency @book000/eslint-config to v1.7.118 (#843) #754

chore(deps): update dependency @book000/eslint-config to v1.7.118 (#843)

chore(deps): update dependency @book000/eslint-config to v1.7.118 (#843) #754

Workflow file for this run

name: Deploy
on:
workflow_dispatch:
push:
branches:
- main
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 🏗 Setup node
uses: actions/setup-node@v4
with:
node-version-file: .node-version
- name: Setup pnpm
uses: pnpm/action-setup@v2
id: pnpm-install
with:
run_install: false
- name: 📂 Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: 📂 Setup pnpm cache
uses: actions/cache@v4
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 --frozen-lockfile --prefer-frozen-lockfile
- name: 🚀 Build
run: pnpm run build
- name: Upload Pages-artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs
deploy:
runs-on: ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4