Skip to content

Commit

Permalink
Remove cache key conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Seismix committed Feb 5, 2025
1 parent 91cdf31 commit 9fd0c04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 25 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/css-selectors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
css-selectors:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
Expand All @@ -24,19 +24,8 @@ jobs:
node-version: lts/*
cache: "pnpm"

- name: Set PNPM store path
run: pnpm config set store-dir ~/.pnpm-store

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Cache PNPM dependencies
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
run: pnpm install

- name: Install Playwright Browsers
run: pnpm playwright install --with-deps chromium
Expand Down
13 changes: 1 addition & 12 deletions .github/workflows/prettier-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,14 @@ jobs:
with:
version: 10

- name: Setup node.js
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: "pnpm"

- name: Set PNPM store path
run: pnpm config set store-dir ~/.pnpm-store

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Cache PNPM dependencies
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
- name: Run Prettier check
run: pnpm run format:check

0 comments on commit 9fd0c04

Please sign in to comment.