Skip to content

chore: update dependency gh-pages to v6 #422

chore: update dependency gh-pages to v6

chore: update dependency gh-pages to v6 #422

Workflow file for this run

name: ci
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [main]
pull_request:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
react-app-workflow:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js 16.x
uses: actions/setup-node@v4
with:
node-version: '16'
- name: Install pnpm 7.x
uses: pnpm/action-setup@v3.0.0
with:
version: 7
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Setup pnpm cache
uses: actions/cache@v4
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: format
run: pnpm run prettier
- name: lint
run: pnpm run lint
- name: typescript
run: tsc --project tsconfig.json --noEmit
- name: test
run: pnpm test -- --run
- name: build
run: pnpm run --if-present build