File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -214,13 +214,13 @@ jobs:
214214 - name: Checkout
215215 uses: actions/checkout@v6
216216
217- - name: Setup Node.js
217+ ${ setupPmStep } - name: Setup Node.js
218218 uses: actions/setup-node@v6
219219 with:
220220 node-version: ${ yamlSingleQuoted ( nodeVersion ) }
221221 cache: '${ pm . cacheKey } '
222222
223- ${ setupPmStep } - name: Install dependencies
223+ - name: Install dependencies
224224 run: ${ pm . installCmd }
225225
226226 - name: Setup SSH agent
Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ describe('ci github', () => {
5959 expect ( workflow ) . toContain ( 'uses: actions/checkout@v6' ) ;
6060 expect ( workflow ) . toContain ( 'uses: actions/setup-node@v6' ) ;
6161 expect ( workflow ) . toContain ( 'uses: pnpm/action-setup@v6' ) ;
62+ expect ( workflow . indexOf ( 'uses: pnpm/action-setup@v6' ) ) . toBeLessThan (
63+ workflow . indexOf ( 'uses: actions/setup-node@v6' ) ,
64+ ) ;
6265 expect ( workflow ) . not . toContain ( 'paths:' ) ;
6366 expect ( workflow ) . not . toContain ( 'working-directory:' ) ;
6467 expect ( workflow ) . not . toContain ( '- name: Build' ) ;
You can’t perform that action at this time.
0 commit comments