From a01270a81851f9fd395c4635c10e9dd1e1058783 Mon Sep 17 00:00:00 2001 From: Lukas Stracke Date: Thu, 17 Oct 2024 10:51:24 +0200 Subject: [PATCH] don't upload source maps in CI --- .github/workflows/node-api.yml | 2 +- api-node/package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node-api.yml b/.github/workflows/node-api.yml index 0a7db478c..22b7c2a88 100644 --- a/.github/workflows/node-api.yml +++ b/.github/workflows/node-api.yml @@ -47,7 +47,7 @@ jobs: run: yarn install --frozen-lockfile - name: Build working-directory: ./api-node - run: yarn build + run: yarn build:ci lint: name: Lint diff --git a/api-node/package.json b/api-node/package.json index 1067bbd42..3ba59a782 100644 --- a/api-node/package.json +++ b/api-node/package.json @@ -7,6 +7,7 @@ "license": "UNLICENSED", "scripts": { "build": "nest build && yarn sentry:sourcemaps", + "build:ci": "nest build", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "start": "nest start", "start:dev": "nest start --watch", @@ -72,4 +73,4 @@ "coverageDirectory": "../coverage", "testEnvironment": "node" } -} \ No newline at end of file +}