Skip to content

Commit 11b7d2a

Browse files
authored
Update build.yaml
1 parent 12aab20 commit 11b7d2a

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,8 @@ jobs:
2929
uses: actions/setup-node@v4
3030
with:
3131
node-version: '18'
32-
33-
- name: Get node_modules cache
34-
uses: actions/[email protected]
35-
id: node_modules
36-
with:
37-
path: |
38-
**/node_modules
39-
# Add node version as a cache key to avoid yarn recompilation for particular node as it doesn't change often
40-
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }}-${{ steps.node.outputs.version }}
32+
cache: 'yarn'
33+
cache-dependency-path: yarn.lock
4134

4235
- name: Build front
4336
run: |
@@ -114,4 +107,4 @@ jobs:
114107
containrrr/watchtower \
115108
--cleanup \
116109
--run-once \
117-
zfile-docs
110+
zfile-docs

0 commit comments

Comments
 (0)