chore(deps-dev): bump @typescript-eslint/rule-tester from 7.0.1 to 7.… #82
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: Continuous Integration | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
branches: | |
- "main" | |
jobs: | |
ci: | |
name: "CI" | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v4" | |
- name: "Setup Node" | |
uses: "actions/setup-node@v4" | |
with: | |
node-version: 18 | |
- name: "Setup PNPM" | |
uses: "pnpm/action-setup@v2" | |
with: | |
version: 8 | |
- name: "Get PNPM store directory" | |
shell: "bash" | |
run: | | |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV | |
- name: "Setup PNPM cache" | |
uses: "actions/cache@v4" | |
with: | |
path: "${{ env.STORE_PATH }}" | |
key: "${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}" | |
restore-keys: | | |
${{ runner.os }}-pnpm-store- | |
- name: "Install dependencies" | |
run: "pnpm install" | |
- name: "Run lint" | |
run: "pnpm lint" | |
- name: "Run tests" | |
run: "pnpm test:coverage" | |
docs-and-format: | |
name: "Docs & Format" | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@v4" | |
with: | |
ref: "${{ github.head_ref }}" | |
fetch-depth: 0 | |
- name: "Setup Node" | |
uses: "actions/setup-node@v4" | |
with: | |
node-version: 18 | |
- name: "Setup PNPM" | |
uses: "pnpm/action-setup@v2" | |
with: | |
version: 8 | |
- name: "Get PNPM store directory" | |
shell: "bash" | |
run: | | |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV | |
- name: "Setup PNPM cache" | |
uses: "actions/cache@v4" | |
with: | |
path: "${{ env.STORE_PATH }}" | |
key: "${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}" | |
restore-keys: | | |
${{ runner.os }}-pnpm-store- | |
- name: "Install dependencies" | |
run: "pnpm install" | |
- name: "Build docs" | |
run: "pnpm build:docs" | |
- name: "Format" | |
run: "pnpm format" | |
- name: "Add & Commit" | |
uses: "EndBug/add-and-commit@v9" | |
with: | |
message: "chore(docs): build docs" | |