Skip to content

Commit

Permalink
chore: fix release and deploy pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
tinesoft committed Jan 9, 2024
1 parent fbece05 commit 9953fc5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/deploy-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
#https://github.com/actions/checkout/issues/408#issuecomment-995113848
fetch-depth: 0
- run: |
git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
Expand All @@ -27,5 +30,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
cat .git/config
npm ci
npx nx deploy demo --verbose
npx nx deploy demo
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "nx run-many -t build --parallel 3",
"test": "nx run-many -t test --parallel 3",
"lint": "nx run-many -t lint --parallel 3",
"release": "nx run-many --target release",
"release": "nx run-many -t release --all",
"graph": "nx graph",
"prepare": "husky install"
},
Expand Down

0 comments on commit 9953fc5

Please sign in to comment.