Skip to content

chore: downgrade packages version #262

chore: downgrade packages version

chore: downgrade packages version #262

Workflow file for this run

name: documentation
on: [push, pull_request]
jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 22
- uses: actions/cache@v3
id: npm-cache
with:
path: 'node_modules'
key: npm-${{ hashFiles('package-lock.json') }}
- run: npm install
if: steps.npm-cache.outputs.cache-hit != 'true'
- name: Test Build
run: |
npm run lint
npm run typecheck
npm build
gh-release:
if: github.ref_name == 'master'
runs-on: ubuntu-latest
needs: checks
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 22
- uses: actions/cache@v3
id: npm-cache
with:
path: 'node_modules'
key: npm-${{ hashFiles('package-lock.json') }}
- run: npm install
if: steps.npm-cache.outputs.cache-hit != 'true'
- name: Build website
env:
TRACKING_ID: ${{ secrets.TRACKING_ID }}
run: npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build