Skip to content

Commit

Permalink
Comment out cache keys
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov committed Sep 18, 2023
1 parent 02b6d86 commit 96ea9ea
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci-pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,27 @@ jobs:
uses: actions/setup-node@v3.7.0
with:
node-version: 18.x
cache: pnpm
# cache: pnpm

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

- name: Build
run: pnpm build

- name: Cache build artifacts
uses: actions/cache/save@v3.3.1
with:
path: ./packages/**/dist
key: ${{ github.sha }}-base:18-test-lint
# - name: Cache build artifacts
# uses: actions/cache/save@v3.3.1
# with:
# path: ./packages/**/dist
# key: ${{ github.sha }}-base:18-test-lint

unit-test:
name: Unit tests
uses: ./.github/workflows/units-tests-reusable.yml
needs: install
with:
ref: ${{ github.event.pull_request.head.ref }}
cacheKey: ${{ github.sha }}-base:18-test-lint
# with:
# ref: ${{ github.event.pull_request.head.ref }}
# cacheKey: ${{ github.sha }}-base:18-test-lint

lint:
name: Lint changes
Expand All @@ -63,9 +63,9 @@ jobs:

- name: Restore cached build artifacts
uses: actions/cache/restore@v3.3.1
with:
path: ./packages/**/dist
key: ${{ github.sha }}-base:18-test-lint
# with:
# path: ./packages/**/dist
# key: ${{ github.sha }}-base:18-test-lint

- name: Lint
run: pnpm lint

0 comments on commit 96ea9ea

Please sign in to comment.