Skip to content

Commit 71e2d3e

Browse files
awmackcopybara-github
authored andcommitted
chore: update Wireit action
PiperOrigin-RevId: 803145852
1 parent ba66e9c commit 71e2d3e

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/docs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
with:
1313
node-version: 18
1414
cache: npm
15-
- uses: google/wireit@setup-github-actions-caching/v1
15+
- uses: google/wireit@setup-github-actions-caching/v2
1616

1717
- run: npm ci
1818
- run: npm run docs
@@ -26,6 +26,7 @@ jobs:
2626
echo "*************************************************************************"
2727
echo "* Please execute 'npm run docs' and update your commit with the output! *"
2828
echo "*************************************************************************"
29+
git diff --staged --name-only | grep "\.md$"
2930
exit 1
3031
else
3132
exit 0

.github/workflows/react.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
with:
1313
node-version: 18
1414
cache: npm
15-
- uses: google/wireit@setup-github-actions-caching/v1
15+
- uses: google/wireit@setup-github-actions-caching/v2
1616

1717
- run: npm ci
1818
- run: npm run build:react

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
with:
1313
node-version: 18
1414
cache: npm
15-
- uses: google/wireit@setup-github-actions-caching/v1
15+
- uses: google/wireit@setup-github-actions-caching/v2
1616

1717
- run: npm ci
1818
- run: npm run build:bundle
@@ -28,7 +28,7 @@ jobs:
2828
with:
2929
node-version: 18
3030
cache: npm
31-
- uses: google/wireit@setup-github-actions-caching/v1
31+
- uses: google/wireit@setup-github-actions-caching/v2
3232

3333
- run: npm ci
3434
- run: npx playwright install --with-deps

0 commit comments

Comments
 (0)