chore(deps-dev): bump @sentry/vue from 10.68.0 to 10.69.0 #1054
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: Test and Publish | |
| on: | |
| push: | |
| pull_request: | |
| branches: | |
| # Branches from forks have the form 'user:branch-name' so we only run | |
| # this job on pull_request events for branches that look like fork | |
| # branches. Without this we would end up running this job twice for non | |
| # forked PRs, once for the push and then once for opening the PR. | |
| - '**:**' | |
| workflow_dispatch: | |
| release: | |
| types: [published] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Install Node | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: '22' | |
| check-latest: true | |
| - name: Install dependencies | |
| run: npm install | |
| # Note: Test build will not generate or deploy sourcemap. | |
| # Since we don't pass SENTRY_AUTH_TOKEN here, that step | |
| # will be skipped. | |
| # SENTRY_AUTH_TOKEN only passed in publish job. | |
| - name: Test build | |
| run: npm run build | |
| - name: ESLint | |
| run: npm run eslint | |
| - name: Prettier | |
| run: npm run prettier | |
| publish: | |
| runs-on: ubuntu-latest | |
| needs: test | |
| if: github.event_name == 'release' || github.event_name == 'workflow_dispatch' | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Docker meta | |
| id: meta | |
| uses: docker/metadata-action@v6 | |
| with: | |
| images: ghcr.io/renalreg/ukrdc-nuxt-3 | |
| tags: | | |
| # workflow dispatch tag by branch | |
| type=ref,event=branch | |
| type=ref,event=pr | |
| # tag semver releases | |
| type=semver,pattern={{version}} | |
| type=semver,pattern={{major}}.{{minor}} | |
| # tag all builds with edge, including pre-release releases | |
| type=raw,value=edge | |
| - name: Login to GitHub Container Registry | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build and push | |
| uses: docker/build-push-action@v7 | |
| with: | |
| # Use path context instead of Git context since we need .git | |
| # in the build step for automatic Sentry versioning | |
| context: . | |
| push: ${{ github.event_name != 'pull_request' }} | |
| build-args: | | |
| GITHUB_SHA=${{ github.sha }} | |
| GITHUB_REF=${{ github.ref }} | |
| SENTRY_DSN=${{ secrets.SENTRY_DSN }} | |
| SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }} | |
| SENTRY_ORG=${{ vars.SENTRY_ORG }} | |
| SENTRY_PROJECT=${{ vars.SENTRY_PROJECT }} | |
| tags: ${{ steps.meta.outputs.tags }} | |
| labels: ${{ steps.meta.outputs.labels }} |