diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 67eaf420a6..c9657ff9f0 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -15,17 +15,17 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v6 with: context: . push: true @@ -46,6 +46,7 @@ jobs: "GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}" "SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}" + deploy: needs: build runs-on: ubuntu-latest diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 15e8b3b051..2bc876c650 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,7 +14,7 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha }} - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20 - name: Install pnpm @@ -24,7 +24,7 @@ jobs: run: | echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - - uses: actions/cache@v3 + - uses: actions/cache@v4 name: Setup pnpm cache with: path: ${{ env.STORE_PATH }} diff --git a/vite.config.ts b/vite.config.ts index 83564515f4..7e5028186b 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -37,9 +37,11 @@ export default defineConfig({ scss: { api: 'modern' } - } + }, + devSourcemap: process.env.NODE_ENV !== 'production' }, build: { + sourcemap: process.env.NODE_ENV !== 'production', reportCompressedSize: false }, test: {