Repository navigation
fix: clean up whitespace in index.ts and README files for improved re… #88
This file contains hidden or 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: CI | |
| on: | |
| pull_request: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| jobs: | |
| lint: | |
| if: github.repository == 'ranuts/document' | |
| timeout-minutes: 30 | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] | |
| node_version: [20] | |
| include: | |
| # Active LTS + other OS | |
| - os: macos-latest | |
| node_version: 20 | |
| - os: windows-latest | |
| node_version: 20 | |
| fail-fast: false | |
| name: "Build&Test: node-${{ matrix.node_version }}, ${{ matrix.os }}" | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.10" | |
| - uses: pnpm/action-setup@v4 | |
| name: Install pnpm | |
| id: pnpm-install | |
| with: | |
| version: 7 | |
| run_install: false | |
| - name: Get pnpm store directory | |
| id: pnpm-cache | |
| shell: bash | |
| run: | | |
| echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT | |
| - name: Install deps | |
| run: pnpm install | |
| - name: Lint | |
| run: pnpm run lint |