chore(deps): update dependency eslint to v9 #601
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: "ci: general tests" | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
jobs: | |
Dependencies: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v3 | |
- name: Install Node v18 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: pnpm | |
- name: Install Dependencies | |
run: pnpm install --frozen-lockfile | |
# Building: | |
# runs-on: ubuntu-latest | |
# needs: Dependencies | |
# steps: | |
# - name: Checkout repository | |
# uses: actions/checkout@v4 | |
# - name: Setup pnpm | |
# uses: pnpm/action-setup@v3 | |
# - name: Install Node v18 | |
# uses: actions/setup-node@v4 | |
# with: | |
# node-version: 18 | |
# cache: pnpm | |
# - name: Install Dependencies | |
# run: pnpm install --frozen-lockfile | |
# - name: Run Compiler | |
# run: pnpm run build | |
Linting: | |
runs-on: ubuntu-latest | |
needs: Dependencies | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v3 | |
- name: Install Node v18 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: pnpm | |
- name: Install Dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Run Eslint | |
run: pnpm run lint | |
# Testing: | |
# runs-on: ubuntu-latest | |
# needs: Dependencies | |
# steps: | |
# - name: Checkout repository | |
# uses: actions/checkout@v3 | |
# - name: Setup pnpm | |
# uses: pnpm/action-setup@v3 | |
# - name: Install Node v18 | |
# uses: actions/setup-node@v3 | |
# with: | |
# node-version: 18 | |
# cache: pnpm | |
# - name: Install Dependencies | |
# run: pnpm install --frozen-lockfile | |
# - name: Run Vitest | |
# run: pnpm run test |