Skip to content

Commit 36ea99c

Browse files
committed
tweaked github workflow
1 parent 95793c9 commit 36ea99c

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set up node
2222
uses: actions/setup-node@v4
2323
with:
24-
node-version: 20
24+
node-version: '20.x'
2525
cache: yarn
2626
- name: Configure Yarn path
2727
run: echo "${{ env.YARN_HOME }}" >> $GITHUB_PATH
@@ -40,7 +40,7 @@ jobs:
4040
# key: ${{ runner.os }}-astro-${{ hashFiles('**/yarn-lock.yaml') }}
4141
# restore-keys: ${{ runner.os }}-astro-
4242
- name: Install dependencies
43-
run: yarn install --immutable --immutable-cache
43+
run: yarn install --immutable --immutable-cache --check-cache --inline-builds
4444
- name: Build project
4545
run: yarn run build
4646
- name: Publish to Cloudflare Pages

.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,10 @@ yarn-error.log*
2424
# .wrangler/
2525

2626
# Yarn
27-
.yarn/
27+
.yarn/*
28+
!.yarn/cache
29+
!.yarn/patches
30+
!.yarn/plugins
31+
!.yarn/releases
32+
!.yarn/sdks
33+
!.yarn/versions

0 commit comments

Comments
 (0)