Merge pull request #313 from IgorKowalczyk/renovate/pnpm-9.x #1077
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 | |
on: [push, pull_request] | |
jobs: | |
lint: | |
name: ESLint | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node: ["lts/*"] | |
steps: | |
- name: 🧱 Checkout repository | |
uses: actions/checkout@v4 | |
- name: 🔩 Setup PNPM | |
uses: pnpm/action-setup@v3 | |
with: | |
version: next-9 | |
standalone: true | |
- name: 🔩 Setup Node ${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: "pnpm" | |
- name: 🚀 Install dependencies | |
run: pnpm install | |
- name: 🚀 Run ESLint | |
run: pnpm lint |