diff --git a/.github/workflows/verify-node.yml b/.github/workflows/verify-node.yml index be84efabd..b06b76729 100644 --- a/.github/workflows/verify-node.yml +++ b/.github/workflows/verify-node.yml @@ -35,9 +35,6 @@ jobs: node-version: ${{ matrix.node-version }} cache: npm - - name: Install Playwright dependencies - run: npx playwright install --with-deps - # Set up GitHub Actions caching for Wireit. - uses: google/wireit@setup-github-actions-caching/v2 @@ -54,6 +51,9 @@ jobs: - name: Build specific packages for production run: npm run build:production + - name: Install Playwright dependencies + run: npx playwright install --with-deps + - name: Test run: npm run test:node @@ -77,9 +77,6 @@ jobs: node-version: '20' cache: 'npm' - - name: Install Playwright dependencies - run: npx playwright install --with-deps - # Set up GitHub Actions caching for Wireit. - uses: google/wireit@setup-github-actions-caching/v2 @@ -93,5 +90,8 @@ jobs: - name: Build specific packages for production run: npm run build:production + - name: Install Playwright dependencies + run: npx playwright install --with-deps + - name: Test run: npm run test:node