Skip to content

Commit

Permalink
ci: add github user back into the step vs calling action
Browse files Browse the repository at this point in the history
  • Loading branch information
ju-Skinner committed Feb 3, 2025
1 parent c11f77d commit 05e3572
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions .github/workflows/schedule-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,29 @@ jobs:
with:
fetch-depth: 0

- name: Setup
uses: ./.github/workflows/actions/setup
- name: Get Latest
run: git pull
shell: bash

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

- name: Verify NPM Cache
shell: bash
run: npm cache verify

- name: Get NPM cache directory
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> $GITHUB_ENV

- name: Configure user
run: |
git config user.name "DSS Automation Bot"
git config user.email "[email protected]"
shell: bash

# - name: Restore Core built Cache
# uses: ./.github/workflows/actions/download-archive
Expand Down Expand Up @@ -192,7 +213,6 @@ jobs:
run: npx nx release --yes
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true

### Steps below are used for releasing a specified version type (major, minor, patch, etc.)
Expand Down

0 comments on commit 05e3572

Please sign in to comment.