From 3eca7a744546181a8cd59f37533a2e6c8cbf64e6 Mon Sep 17 00:00:00 2001 From: Arturo Reuschenbach Puncernau Date: Thu, 11 Apr 2024 15:53:30 +0200 Subject: [PATCH] [workflows] run steps from root --- .github/workflows/build&deploy.yml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build&deploy.yml b/.github/workflows/build&deploy.yml index 7b80f6ba4..86d55d08a 100644 --- a/.github/workflows/build&deploy.yml +++ b/.github/workflows/build&deploy.yml @@ -26,9 +26,9 @@ defaults: jobs: build-and-deploy: runs-on: [ubuntu-latest] - defaults: - run: - working-directory: ./apps/exampleapp + # defaults: + # run: + # working-directory: ./apps/exampleapp env: ACTIONS_RUNNER_DEBUG: true steps: @@ -47,22 +47,17 @@ jobs: scope: ${{ github.actor }} - name: build libs run: | - npm --prefix ../../ install - npm --prefix ../../ run build-libs + npm install + npm run build-libs - name: Clean install of all existing dependencies run: | - npm ci - echo "====================" - ls -la - echo "====================" - ls -la ../../ - echo "====================" + npm ci -w exampleap # - name: Build app # run: npm run build - name: Publish to github packages - run: npm publish + run: npm publish -w exampleapp env: NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}