Skip to content

feat: tree shaking plugin #1211

feat: tree shaking plugin

feat: tree shaking plugin #1211

name: Docs Validation
on:
pull_request:
branches:
- main
# Review gh actions docs if you want to further define triggers, paths, etc
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
jobs:
install:
name: Lint and Build Docs
runs-on: ubuntu-latest
permissions:
contents: read
actions: write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js 22.x
uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version: 22.22.0
- name: Install dependencies
run: yarn install --immutable
- name: Lint
run: yarn workspace openapi-qraft-website run lint
- name: Build
run: yarn workspace openapi-qraft-website run build