Skip to content

Commit

Permalink
Update check-pr GH workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kucrut committed Jun 13, 2024
1 parent c5615af commit a978bd8
Showing 1 changed file with 7 additions and 22 deletions.
29 changes: 7 additions & 22 deletions .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,32 +49,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18

- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
run_install: false
- name: Setup PNPM
uses: pnpm/action-setup@v3

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v3
name: Setup pnpm cache
- name: Setup Nodejs
uses: actions/setup-node@v3
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
cache: "pnpm"
node-version: "20"

- name: Install dependencies
run: pnpm install --silent
run: pnpm install --frozen-lockfile --recursive --silent --strict-peer-dependencies

- name: Lint
run: pnpm lint

0 comments on commit a978bd8

Please sign in to comment.