From 8808a8037ea8ee04976ff06246ff6c26fabc4daa Mon Sep 17 00:00:00 2001 From: Tine Kondo Date: Tue, 9 Jan 2024 19:52:06 +0100 Subject: [PATCH] chore: fix `release` and `deploy` pipelines --- .github/workflows/deploy-demo.yml | 8 ++++++-- package.json | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-demo.yml b/.github/workflows/deploy-demo.yml index 3c2630f..956274b 100644 --- a/.github/workflows/deploy-demo.yml +++ b/.github/workflows/deploy-demo.yml @@ -14,7 +14,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 + 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" @@ -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 diff --git a/package.json b/package.json index 3e20a81..d576515 100644 --- a/package.json +++ b/package.json @@ -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" },