From 7c775751e5305b7f2bce933f512a08e8073c6b95 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 | 7 +++++-- package.json | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-demo.yml b/.github/workflows/deploy-demo.yml index 3c2630f..7169b65 100644 --- a/.github/workflows/deploy-demo.yml +++ b/.github/workflows/deploy-demo.yml @@ -14,7 +14,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 + with: + ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} - run: | git config --global user.name "${GITHUB_ACTOR}" git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com" @@ -27,5 +29,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" },