docs: v0.1.5 documentations update #70
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
env: | |
NODE_VERSION: 20 | |
PNPM_CACHE_FOLDER: .pnpm-store | |
PNPM_VERSION: 9 | |
on: | |
push: | |
branches: | |
- "**" | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Cache turbo build setup | |
uses: actions/cache@v4 | |
with: | |
path: .turbo | |
key: ${{ runner.os }}-turbo-${{ github.sha }} | |
restore-keys: | | |
${{ runner.os }}-turbo- | |
- name: Setup Node.js v${{ env.NODE_VERSION }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
registry-url: https://registry.npmjs.org | |
- name: Install & audit PNPM | |
uses: ./.github/actions/pnpm | |
with: | |
cache: ${{ env.PNPM_CACHE_FOLDER }} | |
version: ${{ env.PNPM_VERSION }} | |
- name: Lint project | |
run: pnpm run lint && pnpm run build |