Skip to content

Commit

Permalink
tweaks to publish scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
pirupius committed Jan 11, 2024
1 parent 937a566 commit 2785a44
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,25 @@ jobs:
- name: Build
run: yarn turbo run build --color --concurrency=5

- run: git config user.email "<>" && git config user.name "GitHub Actions Bot"
- run: git add . && git commit -m "Prerelease version" --no-verify
# - run: git config user.email "<>" && git config user.name "GitHub Actions Bot"
# - run: git add . && git commit -m "Prerelease version" --no-verify

- name: Pre-release
run: yarn config set npmAuthToken "${NODE_AUTH_TOKEN}" && yarn run ci:prepublish
# - name: Pre-release
# run: yarn config set npmAuthToken "${NODE_AUTH_TOKEN}" && yarn run ci:prepublish
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

- name: setup git config
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
- name: commit
run: |
git add .
git commit -m "Prerelease version" --no-verify
- run: yarn run ci:prepublish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}

- name: Upload Artifacts
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 2785a44

Please sign in to comment.