99env :
1010 FORCE_COLOR : true
1111
12+ permissions : {}
13+
1214jobs :
1315 prepare-yarn-cache :
1416 if : ${{ github.repository == 'PaloAltoNetworks/docusaurus-openapi-docs' }}
@@ -18,18 +20,20 @@ jobs:
1820 contents : read
1921 steps :
2022 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
21- - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v4
23+ with :
24+ persist-credentials : false
25+ - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
2226 with :
2327 node-version : " 22"
24- - uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v3
28+ - uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
2529 with :
2630 path : |
2731 node_modules
2832 */*/node_modules
2933 /home/runner/.cache/Cypress
3034 key : ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
3135 - name : Install
32- run : yarn install --frozen-lockfile
36+ run : yarn install --frozen-lockfile --ignore-scripts
3337
3438 lint :
3539 if : ${{ github.repository == 'PaloAltoNetworks/docusaurus-openapi-docs' }}
@@ -40,17 +44,19 @@ jobs:
4044 contents : read
4145 steps :
4246 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
43- - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v4
47+ with :
48+ persist-credentials : false
49+ - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
4450 with :
4551 node-version : " 22"
46- - uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v3
52+ - uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
4753 with :
4854 path : |
4955 node_modules
5056 */*/node_modules
5157 key : ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
5258 - name : Install
53- run : yarn install --frozen-lockfile
59+ run : yarn install --frozen-lockfile --ignore-scripts
5460 - name : Check format
5561 run : yarn format
5662 - name : Lint
@@ -65,17 +71,19 @@ jobs:
6571 contents : read
6672 steps :
6773 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
68- - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v4
74+ with :
75+ persist-credentials : false
76+ - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
6977 with :
7078 node-version : " 22"
71- - uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v4
79+ - uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
7280 with :
7381 path : |
7482 node_modules
7583 */*/node_modules
7684 key : ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
7785 - name : Install
78- run : yarn install --frozen-lockfile
86+ run : yarn install --frozen-lockfile --ignore-scripts
7987 - name : Test
8088 run : yarn test
8189
@@ -88,18 +96,20 @@ jobs:
8896 contents : read
8997 steps :
9098 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
91- - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v4
99+ with :
100+ persist-credentials : false
101+ - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
92102 with :
93103 node-version : " 22"
94- - uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v4
104+ - uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
95105 with :
96106 path : |
97107 node_modules
98108 */*/node_modules
99109 /home/runner/.cache/Cypress
100110 key : ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
101111 - name : Install
102- run : yarn install --frozen-lockfile
112+ run : yarn install --frozen-lockfile --ignore-scripts
103113 - name : Build
104114 run : yarn build
105115 - name : Cypress
0 commit comments