Skip to content

Commit b326f5d

Browse files
committed
ci(workflows): [ci] update node setup
- https://github.com/actions/setup-node/blob/v3.5.1/docs/advanced-usage.md#yarn2-configuration Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
1 parent 303de20 commit b326f5d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
# - https://docs.github.com/actions/using-workflows/events-that-trigger-workflows#push
1010
# - https://docs.github.com/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch
1111
# - https://github.com/actions/checkout
12+
# - https://github.com/actions/setup-node
13+
# - https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#yarn2-configuration
1214
# - https://github.com/actions/upload-artifact
1315
# - https://github.com/codecov/codecov-action
1416
# - https://github.com/hmarr/debug-action
@@ -61,13 +63,14 @@ jobs:
6163
uses: actions/setup-node@v3.5.1
6264
with:
6365
cache: yarn
66+
cache-dependency-path: yarn.lock
6467
node-version: ${{ matrix.node-version }}
6568
- id: debug
6669
name: Print environment variables and event payload
6770
uses: hmarr/debug-action@v2.1.0
6871
- id: yarn
6972
name: Install dependencies
70-
run: yarn --no-immutable
73+
run: yarn --immutable
7174
- id: format
7275
name: Check code formatting
7376
run: yarn check:format

0 commit comments

Comments
 (0)