Skip to content

Commit ada5652

Browse files
committed
ci: 🤖 fix snapshot update workflow
1 parent 56ed8ab commit ada5652

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎.github/workflows/update-snapshots.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ on:
33
- workflow_dispatch
44

55
env:
6-
# Using Nx Cloud is safer
7-
NX_REJECT_UNKNOWN_LOCAL_CACHE: 0
6+
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
87

98
jobs:
109
update-snapshots:
@@ -14,15 +13,20 @@ jobs:
1413
- uses: actions/checkout@v4
1514
with:
1615
fetch-depth: 0
16+
1717
- uses: actions/setup-node@v3
1818
with:
1919
node-version: 22
20+
2021
- uses: oven-sh/setup-bun@v1
2122
with:
2223
bun-version: latest
24+
2325
- run: bun install --frozen-lockfile --ignore-scripts
26+
2427
- name: Install Playwright Browsers
2528
run: bunx playwright install chromium --with-deps
29+
2630
- uses: nrwl/nx-set-shas@v4
2731

2832
- run: bunx nx affected --target e2e --update-snapshots

0 commit comments

Comments
 (0)