diff --git a/.github/workflows/nx-release.yaml b/.github/workflows/nx-release.yaml index 46b95c9e..834f4741 100644 --- a/.github/workflows/nx-release.yaml +++ b/.github/workflows/nx-release.yaml @@ -50,11 +50,6 @@ jobs: cache: 'npm' registry-url: 'https://registry.npmjs.org' scope: '@affinidi-tdk' - - run: npm ci - - - name: build - run: | - npx nx run-many -t build # Generate tag/changelog with semantic release # setting parallel higher than one might cause problems with locking git repo - run: npx nx run-many -t semantic-release --parallel=false @@ -62,6 +57,11 @@ jobs: env: GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + - run: npm ci + + - name: build + run: | + npx nx run-many -t build - name: package run: |