From 50696fd2cf23be2e3cee6bfcaf97e231f101384d Mon Sep 17 00:00:00 2001 From: Atsuhiro Endo Date: Mon, 29 Apr 2024 13:45:51 +0200 Subject: [PATCH] fix: add config and install steps --- .github/workflows/publish.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index bffe8224..c62588be 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -4,7 +4,7 @@ on: branches: - '**' # matches every branch - '!main' - pull_request: + # pull_request: # Needed for nx-set-shas when run on the main branch permissions: @@ -16,6 +16,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: configure git + run: | + git config user.name "${GITHUB_ACTOR}" + git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" + + - name: install dependencies + 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