fix(deps): address dependabot security alerts #1379
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: Tests E2E - CRX Lock | |
| on: | |
| pull_request: | |
| branches: [main, master, sdk-v2] | |
| types: [opened, synchronize, reopened] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| tests-e2e-crx-lock: | |
| name: Test | |
| runs-on: buildjet-8vcpu-ubuntu-2204 | |
| timeout-minutes: 7 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Extract pnpm version from .tool-versions | |
| id: get_pnpm | |
| run: | | |
| PNPM_VERSION=$(grep '^pnpm' .tool-versions | awk '{print $2}') | |
| echo "PNPM_VERSION=${PNPM_VERSION}" >> $GITHUB_ENV | |
| - uses: FuelLabs/github-actions/setups/node@master | |
| with: | |
| node-version: 20.14.0 | |
| pnpm-version: ${{ env.PNPM_VERSION }} | |
| - uses: FuelLabs/github-actions/setups/docker@master | |
| with: | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Start Test Node | |
| run: pnpm node:up | |
| - name: Generate .env | |
| run: cp packages/app/.env.example packages/app/.env | |
| - uses: ./.github/actions/setup-playwright | |
| - name: Run E2E Tests | |
| run: xvfb-run --auto-servernum -- pnpm test:e2e:crx-lock | |
| timeout-minutes: 6 | |
| env: | |
| NODE_ENV: test | |
| - uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: playwright-app-crx-lock-report | |
| path: packages/app/playwright-results | |
| retention-days: 30 |