Skip to content

Commit 30e988e

Browse files
authored
fix: downgrade security-center deps, update workflow (#3791)
1 parent 7c4dc84 commit 30e988e

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/security-center-snippets.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Google LLC
1+
# Copyright 2024 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -28,8 +28,7 @@ on:
2828
- synchronize
2929
- labeled
3030
paths:
31-
- 'security-center/snippets/v1/**'
32-
- 'security-center/snippets/package.json'
31+
- 'security-center/snippets/**'
3332
- '.github/workflows/security-center-snippets.yaml'
3433
schedule:
3534
- cron: '0 0 * * 0'
@@ -56,7 +55,7 @@ jobs:
5655
access_token_lifetime: 600s
5756
- uses: actions/[email protected]
5857
with:
59-
node-version: 16
58+
node-version: 20
6059
- name: Get npm cache directory
6160
id: npm-cache-dir
6261
shell: bash

security-center/snippets/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
"devDependencies": {
2020
"c8": "^10.0.0",
21-
"chai": "^5.0.0",
21+
"chai": "^4.5.0",
2222
"mocha": "^10.0.0",
2323
"uuid": "^10.0.0"
2424
}

0 commit comments

Comments
 (0)