From 60e270af9b513b2394fd04bf852c076f53ebb2fa Mon Sep 17 00:00:00 2001 From: Atsuhiro Endo Date: Tue, 30 Apr 2024 05:18:31 +0200 Subject: [PATCH] fix: use proper env vars --- .github-action-scripts/build-and-publish-artifacts.sh | 9 --------- .github/workflows/publish.yaml | 6 +++++- 2 files changed, 5 insertions(+), 10 deletions(-) delete mode 100755 .github-action-scripts/build-and-publish-artifacts.sh diff --git a/.github-action-scripts/build-and-publish-artifacts.sh b/.github-action-scripts/build-and-publish-artifacts.sh deleted file mode 100755 index 87a921f3..00000000 --- a/.github-action-scripts/build-and-publish-artifacts.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin//bash - -# cycle through all subbolders and run npm scripts -cd ./packages - -# FIXME: -cd ./auth-provider -npm i --prefix . -npm run package \ No newline at end of file diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 4b8e9566..44b2ba8f 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -25,4 +25,8 @@ jobs: run: npm ci - name: publish to npm - run: npx nx run-many -t release -p @affinidi-tdk/auth-provider \ No newline at end of file + run: npx nx run-many -t release -p @affinidi-tdk/auth-provider + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file