Skip to content

Commit

Permalink
[workflows] run steps from root
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtieReus committed Apr 11, 2024
1 parent 6177f15 commit 3eca7a7
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/build&deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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}}

0 comments on commit 3eca7a7

Please sign in to comment.