chore(deps): update dependency turbo to v2.7.0 #594
Workflow file for this run
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: e2e | |
| on: | |
| push: | |
| branches: | |
| - "**" | |
| - "!gh-pages" | |
| tags: | |
| - "**" | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: global-workflow-queue | |
| cancel-in-progress: false | |
| jobs: | |
| e2e-job: | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: deploy-gh-pages | |
| cancel-in-progress: false | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js - Cache dependencies - Install dependencies | |
| uses: ./.github/workflows/setup-node | |
| - name: Determine NEXT_PUBLIC_BASE_PATH | |
| id: set-path | |
| run: | | |
| if [[ "${GITHUB_REF}" == refs/heads/* ]]; then | |
| NAME="${GITHUB_REF#refs/heads/}" | |
| BASE_PATH="/solid-memo/branches/${NAME}" | |
| elif [[ "${GITHUB_REF}" == refs/tags/* ]]; then | |
| NAME="${GITHUB_REF#refs/tags/}" | |
| BASE_PATH="/solid-memo/tags/${NAME}" | |
| else | |
| echo "Unsupported ref: ${GITHUB_REF}" | |
| exit 1 | |
| fi | |
| SHORT_SHA=$(git rev-parse --short HEAD) | |
| VERSION="${NAME}:${SHORT_SHA}" | |
| echo "base_path=$BASE_PATH" >> "$GITHUB_OUTPUT" | |
| echo "version=$VERSION" >> "$GITHUB_OUTPUT" | |
| - name: Install Playwright Browsers | |
| run: npx playwright install --with-deps | |
| - name: End-to-end test | |
| run: npm run test:e2e | |
| env: | |
| NEXT_PUBLIC_BASE_PATH: ${{ steps.set-path.outputs.base_path }} | |
| NEXT_PUBLIC_VERSION: ${{ steps.set-path.outputs.version }} |