From 35b373009f74754fb93494a907721052f2a68ce7 Mon Sep 17 00:00:00 2001 From: Tom Elliott Date: Thu, 17 Aug 2023 12:27:40 +0100 Subject: [PATCH] EXUI-705: Print working dir to try and identify why script can't be found --- .github/workflows/dependency-check.yml | 6 +++--- package.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dependency-check.yml b/.github/workflows/dependency-check.yml index 67a0f0b469..e0b945f396 100644 --- a/.github/workflows/dependency-check.yml +++ b/.github/workflows/dependency-check.yml @@ -28,10 +28,10 @@ jobs: node-version-file: ".nvmrc" - name: Install dependencies run: yarn install - - name: Build - run: yarn build + - name: Print current working directory + run: pwd - name: Run automated update of known-issue suppression - run: yarn audit + run: yarn update-audit-known-issues - name: Commit uses: stefanzweifel/git-auto-commit-action@v4 with: diff --git a/package.json b/package.json index b4ea0b2fd8..fbfd7109d5 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,6 @@ "node": ">=12.13.0" }, "scripts": { - "audit": "yarn npm audit --recursive --environment production --json > yarn-audit-known-issues", "build": "yarn build:prod && yarn build:node", "build:docker": "docker build -t xui .", "build:ng": "node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build --prod build", @@ -70,7 +69,8 @@ "test:codeceptE2EDebug": "TEST_TYPE=e2e npx codeceptjs run --plugins retryFailedStep --config=./test_codecept/codeceptCommon/codecept.conf.ts --features --grep @codecept_test --reporter mochawesome ", "test:codeceptE2E": "TEST_TYPE=e2e npx codeceptjs run-workers --suites 5 --plugins retryFailedStep --config=./test_codecept/codeceptCommon/codecept.conf.ts --features --grep @codecept_enabled --reporter mochawesome ", "test:xuiIntegrationDebug": "NODE_CONFIG_ENV=mock TEST_TYPE=ngIntegration TEST_URL=http://localhost:3000 npx codeceptjs run --config=./test_codecept/codeceptCommon/codecept.conf.ts --features --grep @codecept_test --reporter mochawesome ", - "test:xuiIntegration": "yarn build && node ./test_codecept/backendMock/configCopy.js && NODE_CONFIG_ENV=mock TEST_TYPE=ngIntegration PARALLEL=true npx codeceptjs run-workers --suites 5 --config=./test_codecept/codeceptCommon/codecept.conf.ts --features --grep @codecept_enabled --reporter mochawesome " + "test:xuiIntegration": "yarn build && node ./test_codecept/backendMock/configCopy.js && NODE_CONFIG_ENV=mock TEST_TYPE=ngIntegration PARALLEL=true npx codeceptjs run-workers --suites 5 --config=./test_codecept/codeceptCommon/codecept.conf.ts --features --grep @codecept_enabled --reporter mochawesome ", + "update-audit-known-issues": "yarn npm audit --recursive --environment production --json > yarn-audit-known-issues" }, "private": true, "dependencies": {