diff --git a/.github/workflows/pre-test.yml b/.github/workflows/pre-test.yml index 8769603..3fe8218 100644 --- a/.github/workflows/pre-test.yml +++ b/.github/workflows/pre-test.yml @@ -87,9 +87,7 @@ jobs: with: name: build-result path: . - - name: print-directory - run: ls -al - - name: Grant Permission in recursive + - name: Grant Permission to artifacts run: chmod -R 777 . - name: Install dotenv-cli for CI script run: npm install -g dotenv-cli @@ -128,6 +126,8 @@ jobs: with: name: build-result path: . + - name: Grant Permission to artifacts + run: chmod -R 777 . - name: Install dotenv-cli for CI script run: npm install -g dotenv-cli - id: e2e-test-phase @@ -165,6 +165,8 @@ jobs: with: name: build-result path: . + - name: Grant Permission to artifacts + run: chmod -R 777 . - id: tear-down-phase name: Test Database tear-down continue-on-error: true diff --git a/package.json b/package.json index 4f29102..c538931 100644 --- a/package.json +++ b/package.json @@ -21,16 +21,16 @@ "test": "jest", "test:watch": "jest --watch", "test:cov": "jest --coverage", - "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", + "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest", "ci:init": "dotenv -e .ci.env -- npx prisma db push", "ci:tearDown": "dotenv -e .ci.env -- npx prisma db push --force-reset", - "ci:unit": "dotenv -e .ci.env -- jest --setupFiles jest --config ./test/jest-unit.json --runInBand", - "ci:e2e": "dotenv -e .ci.env -- jest --config ./test/jest-e2e.json --runInBand", + "ci:unit": "dotenv -e .ci.env -- jest --setupFiles jest --config ./test/jest-unit.json", + "ci:e2e": "dotenv -e .ci.env -- jest --config ./test/jest-e2e.json", "test:init": "dotenv -e .test.env -- npx prisma db push", - "test:e2e": "dotenv -e .test.env -- jest --config ./test/jest-e2e.json --runInBand", - "test:e2e:cov": "dotenv -e .test.env -- jest --config ./test/jest-e2e.json --runInBand --coverage", - "test:unit": "dotenv -e .test.env -- jest --config ./test/jest-unit.json --runInBand", - "test:unit:cov": "dotenv -e .test.env -- jest --config ./test/jest-unit.json --runInBand --coverage" + "test:e2e": "dotenv -e .test.env -- jest --config ./test/jest-e2e.json", + "test:e2e:cov": "dotenv -e .test.env -- jest --config ./test/jest-e2e.json --coverage", + "test:unit": "dotenv -e .test.env -- jest --config ./test/jest-unit.json", + "test:unit:cov": "dotenv -e .test.env -- jest --config ./test/jest-unit.json --coverage" }, "dependencies": { "@aws-sdk/client-s3": "^3.465.0",