diff --git a/.github/workflows/push-docker.yml b/.github/workflows/push-docker.yml index a7a956b..93b6c74 100644 --- a/.github/workflows/push-docker.yml +++ b/.github/workflows/push-docker.yml @@ -13,17 +13,17 @@ jobs: name: checkout backend with: sparse-checkout: | - ./ + /src - name: Setup Node.js uses: actions/setup-node@v3 with: node-version: "21.1.0" - run: npm ci name: install dependencies - working-directory: ./src + working-directory: /src - run: npm run test name: test with npm - working-directory: ./src + working-directory: /src lint-format: name: lint and format backend @@ -40,14 +40,14 @@ jobs: node-version: "21.1.0" - run: npm ci name: install dependencies - working-directory: ./src + working-directory: /src - run: | if ! npm run prettier -- --check .; then echo "Please format the code by running: npm run format" exit 1 fi name: check code formatting - working-directory: ./src + working-directory: /src build-image: runs-on: ubuntu-22.04