chore(deps): bump lodash from 4.17.21 to 4.18.1 in /packages/framework-testing/astro-angular #4082
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Pull Request Actions | |
| on: | |
| push: | |
| branches: [main, next] | |
| pull_request: | |
| types: [ready_for_review, opened, synchronize] | |
| branches: [main, next] | |
| workflow_dispatch: | |
| env: | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| jobs: | |
| setup: | |
| if: github.event.pull_request.draft == false | |
| runs-on: ubuntu-22.04 | |
| # timeout-minutes: 8 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Get branch name | |
| id: branch-name | |
| uses: tj-actions/branch-names@v9.0.0 | |
| - name: Cache node modules | |
| id: cache-node-modules | |
| uses: actions/cache@v3 | |
| with: | |
| path: | | |
| ./packages/web-components/node_modules | |
| ./packages/web-components/dist | |
| key: ${{ runner.os }}-setup-${{ hashFiles('./packages/web-components/package-lock.json')}}-${{ steps.branch-name.outputs.current_branch }} | |
| - name: Install Dependencies | |
| run: npm ci && cd ./packages/web-components && npx playwright install --with-deps | |
| - name: Build | |
| run: npm run build | |
| e2e: | |
| needs: setup | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 7 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Get branch name | |
| id: branch-name | |
| uses: tj-actions/branch-names@v9.0.0 | |
| - name: Get Cache | |
| uses: actions/cache@v3 | |
| id: get-cache | |
| with: | |
| path: | | |
| ./packages/web-components/node_modules | |
| ./packages/web-components/dist | |
| key: ${{ runner.os }}-setup-${{ hashFiles('./packages/web-components/package-lock.json')}}-${{ steps.branch-name.outputs.current_branch }} | |
| - name: e2e Tests | |
| run: npm run test.e2e.ci | |
| working-directory: ./packages/web-components | |
| - uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: playwright-report-e2e | |
| path: packages/web-components/playwright-report/ | |
| retention-days: 30 | |
| VRTs: | |
| needs: setup | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 7 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Get branch name | |
| id: branch-name | |
| uses: tj-actions/branch-names@v9.0.0 | |
| - name: Get Cache | |
| uses: actions/cache@v3 | |
| id: get-cache | |
| with: | |
| path: | | |
| ./packages/web-components/node_modules | |
| ./packages/web-components/dist | |
| key: ${{ runner.os }}-setup-${{ hashFiles('./packages/web-components/package-lock.json')}}-${{ steps.branch-name.outputs.current_branch }} | |
| - name: Run VRTs | |
| run: npm run test.vrt | |
| working-directory: ./packages/web-components | |
| - uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: playwright-report-vrt | |
| path: packages/web-components/playwright-report/ | |
| retention-days: 30 |