Skip to content

Commit 1f5b9d9

Browse files
committed
add cache step
1 parent 6263e35 commit 1f5b9d9

File tree

1 file changed

+13
-16
lines changed

1 file changed

+13
-16
lines changed

.github/workflows/release_self_hosted_images.yml

+13-16
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,18 @@ jobs:
3030
- name: Checkout
3131
uses: actions/checkout@v4
3232

33-
# - name: Cache pnpm artifacts
34-
# uses: runs-on/cache@v4
35-
# env:
36-
# AWS_REGION: ${{ vars.AWS_REGION }}
37-
# RUNS_ON_S3_BUCKET_CACHE: ${{ vars.RUNS_ON_S3_BUCKET_CACHE }}
38-
# with:
39-
# path: |
40-
# npm-packages/common/temp/build-cache
41-
# npm-packages/common/temp/pnpm-store
42-
# key: pnpm-cache-${{
43-
# hashFiles('npm-packages/common/config/rush/pnpm-lock.yaml') }}-2
44-
# restore-keys: pnpm-cache-
33+
- name: Cache pnpm artifacts
34+
uses: runs-on/cache@v4
35+
env:
36+
AWS_REGION: ${{ vars.AWS_REGION }}
37+
RUNS_ON_S3_BUCKET_CACHE: ${{ vars.RUNS_ON_S3_BUCKET_CACHE }}
38+
with:
39+
path: |
40+
npm-packages/common/temp/build-cache
41+
npm-packages/common/temp/pnpm-store
42+
key: pnpm-cache-${{
43+
hashFiles('npm-packages/common/config/rush/pnpm-lock.yaml') }}-2
44+
restore-keys: pnpm-cache-
4545

4646
- name: Node setup
4747
uses: actions/setup-node@v4
@@ -51,9 +51,6 @@ jobs:
5151
- name: NPM install globals
5252
run: npm ci --prefix scripts
5353

54-
# - name: Sccache stats
55-
# shell: bash
56-
# run: sccache --show-stats
5754
- name: Install Just
5855
uses: extractions/setup-just@v2
5956
env:
@@ -73,6 +70,6 @@ jobs:
7370
SITE_URL: http://127.0.0.1:3211
7471
run: |
7572
ADMIN_KEY=$(docker exec ${{ job.services.backend.id }} ./generate_admin_key.sh)
76-
echo "Pushing functions with admin key: $ADMIN_KEY"
73+
echo "Pushing functions... "
7774
npx convex deploy --url http://127.0.0.1:3210 --admin-key $ADMIN_KEY
7875
ADMIN_KEY=$ADMIN_KEY npm run test-integration

0 commit comments

Comments
 (0)