File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9191 node-version-file : package.json
9292 package-manager-cache : false
9393
94- - name : Setup Node.js
95- uses : actions/setup-node@v5
96- with :
97- node-version-file : package.json
98- package-manager-cache : false
99-
10094 - name : Build plugin Host resources
10195 run : |
10296 bun install --cwd src/apps/extension-host --frozen-lockfile
Original file line number Diff line number Diff line change @@ -852,6 +852,9 @@ test('Linux binary packaging uses the shared locked version projection contract'
852852 ) ;
853853 const inputs = workflow . on . workflow_call . inputs ;
854854 const steps = workflow . jobs . build . steps ;
855+ const nodeSteps = steps . filter (
856+ ( step ) => step . name === 'Setup Node.js' ,
857+ ) ;
855858 const nodeIndex = steps . findIndex (
856859 ( step ) => step . name === 'Setup Node.js' ,
857860 ) ;
@@ -872,6 +875,7 @@ test('Linux binary packaging uses the shared locked version projection contract'
872875 assert . equal ( inputs . upload_artifacts . default , true ) ;
873876 assert . equal ( inputs . cache_write . default , false ) ;
874877 assert . equal ( inputs . validate_relay_image . default , true ) ;
878+ assert . equal ( nodeSteps . length , 1 ) ;
875879 assert . equal ( steps [ nodeIndex ] . uses , 'actions/setup-node@v5' ) ;
876880 assert . equal ( steps [ nodeIndex ] . with [ 'node-version-file' ] , 'package.json' ) ;
877881 assert . ok (
You can’t perform that action at this time.
0 commit comments