fix: update tanstack-query monorepo to v5.65.1 #7396
Workflow file for this run
This file contains 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: Push | |
on: | |
- push | |
jobs: | |
backend: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Use node | |
uses: actions/setup-node@v4.2.0 | |
with: | |
node-version-file: ".nvmrc" | |
- run: npm i | |
working-directory: backend | |
- run: npm run build | |
working-directory: backend | |
- name: Sentry Release | |
if: github.ref == 'refs/heads/main' | |
uses: getsentry/action-release@v1.9.0 | |
env: | |
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
SENTRY_ORG: ${{ vars.SENTRY_ORG }} | |
with: | |
sourcemaps: backend/build-web | |
environment: production | |
ignore_empty: true | |
projects: web | |
- uses: "google-github-actions/auth@v2" | |
if: github.ref == 'refs/heads/main' | |
with: | |
credentials_json: "${{ secrets.GOOGLE_CREDENTIALS }}" | |
- name: Deploy | |
if: github.ref == 'refs/heads/main' | |
run: | | |
echo "${API_ENV_YAML}" >> .env.yaml | |
gcloud functions deploy api --gen2 \ | |
--region=europe-west1 \ | |
--runtime=nodejs20 \ | |
--trigger-http \ | |
--env-vars-file .env.yaml \ | |
--memory=1G \ | |
--allow-unauthenticated | |
working-directory: backend | |
env: | |
API_ENV_YAML: ${{ secrets.API_ENV_YAML }} | |
browser-extension: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use node | |
uses: actions/setup-node@v4.2.0 | |
with: | |
node-version-file: ".nvmrc" | |
- run: npm i | |
working-directory: browser-extension | |
- run: npm run build | |
working-directory: browser-extension | |
frontend: | |
runs-on: ubuntu-22.04 | |
env: | |
# 7 GiB by default on GitHub, setting to 6 GiB | |
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources | |
NODE_OPTIONS: --max-old-space-size=6144 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Use node | |
uses: actions/setup-node@v4.2.0 | |
with: | |
node-version-file: ".nvmrc" | |
- run: npm ci | |
working-directory: backend | |
- run: npm ci | |
working-directory: frontend | |
- name: Lint | |
run: npm run lint | |
working-directory: frontend | |
- name: Build | |
run: npm run build | |
working-directory: frontend | |
- name: Deploy | |
run: npm run deploy -- --prod | |
if: github.ref == 'refs/heads/main' | |
working-directory: frontend | |
env: | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
- name: Sentry Release | |
if: github.ref == 'refs/heads/main' | |
uses: getsentry/action-release@v1.9.0 | |
env: | |
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
SENTRY_ORG: ${{ vars.SENTRY_ORG }} | |
with: | |
sourcemaps: frontend/build/static/js | |
environment: production | |
ignore_empty: true | |
projects: frontend |