Skip to content

Commit f7141f1

Browse files
committed
Disable cache
1 parent 330f8e3 commit f7141f1

1 file changed

Lines changed: 34 additions & 36 deletions

File tree

.github/workflows/pr.yaml

Lines changed: 34 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -43,33 +43,33 @@ jobs:
4343
run: |
4444
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
4545
46-
- name: Setup pnpm cache
47-
uses: actions/cache@v4
48-
with:
49-
path: ${{ env.STORE_PATH }}
50-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
51-
restore-keys: |
52-
${{ runner.os }}-pnpm-store-
53-
54-
- name: Setup RocksDB cache
55-
uses: actions/cache@v4
56-
with:
57-
path: deps/rocksdb
58-
key: ${{ runner.os }}-rocksdb-${{ hashFiles('package.json') }}
59-
restore-keys: |
60-
${{ runner.os }}-rocksdb-
61-
62-
# temporary
63-
- name: Setup extended-iterable cache
64-
id: extended-iterable-cache
65-
uses: actions/cache@v4
66-
with:
67-
path: ${{ runner.temp }}/extended-iterable
68-
key: ${{ runner.os }}-extended-iterable-iterable2
46+
# - name: Setup pnpm cache
47+
# uses: actions/cache@v4
48+
# with:
49+
# path: ${{ env.STORE_PATH }}
50+
# key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
51+
# restore-keys: |
52+
# ${{ runner.os }}-pnpm-store-
53+
54+
# - name: Setup RocksDB cache
55+
# uses: actions/cache@v4
56+
# with:
57+
# path: deps/rocksdb
58+
# key: ${{ runner.os }}-rocksdb-${{ hashFiles('package.json') }}
59+
# restore-keys: |
60+
# ${{ runner.os }}-rocksdb-
61+
62+
# # temporary
63+
# - name: Setup extended-iterable cache
64+
# id: extended-iterable-cache
65+
# uses: actions/cache@v4
66+
# with:
67+
# path: ${{ runner.temp }}/extended-iterable
68+
# key: ${{ runner.os }}-extended-iterable-iterable2
6969

7070
# temporary
7171
- name: Install extended-iterable
72-
if: steps.extended-iterable-cache.outputs.cache-hit != 'true'
72+
# if: steps.extended-iterable-cache.outputs.cache-hit != 'true'
7373
env:
7474
GH_TOKEN: ${{ secrets.GH_TOKEN }}
7575
run: |
@@ -80,22 +80,20 @@ jobs:
8080
pnpm link
8181
cd $GITHUB_WORKSPACE
8282
pnpm link @harperdb/extended-iterable
83-
pnpm install --no-frozen-lockfile --ignore-scripts
8483
8584
# temporary
86-
- name: Install extended-iterable from cache
87-
if: steps.extended-iterable-cache.outputs.cache-hit == 'true'
88-
env:
89-
GH_TOKEN: ${{ secrets.GH_TOKEN }}
90-
run: |
91-
cd $GITHUB_WORKSPACE
92-
pnpm link @harperdb/extended-iterable
93-
pnpm install --no-frozen-lockfile --ignore-scripts
94-
95-
# - name: Install dependencies
85+
# - name: Install extended-iterable from cache
86+
# if: steps.extended-iterable-cache.outputs.cache-hit == 'true'
9687
# env:
9788
# GH_TOKEN: ${{ secrets.GH_TOKEN }}
98-
# run: pnpm install --ignore-scripts
89+
# run: |
90+
# cd $GITHUB_WORKSPACE
91+
# pnpm link @harperdb/extended-iterable
92+
93+
- name: Install dependencies
94+
env:
95+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
96+
run: pnpm install --no-frozen-lockfile --ignore-scripts
9997

10098
- name: Lint
10199
run: pnpm lint

0 commit comments

Comments
 (0)