fix: separate npm install from publish config

This commit is contained in:
mkorwel
2025-07-01 11:03:18 -05:00
parent 70d5f386c8
commit c640745ded

View File

@@ -40,7 +40,6 @@ jobs:
with:
node-version: '20'
cache: 'npm'
registry-url: 'https://wombat-dressing-room.appspot.com'
- name: Install Dependencies
run: npm ci
@@ -72,10 +71,12 @@ jobs:
echo "NPM_DRY_RUN=--dry-run" >> $GITHUB_OUTPUT
fi
- name: Configure npm for publishing
run: echo "//wombat-dressing-room.appspot.com/:_authToken=${{ secrets.WOMBAT_TOKEN }}" > .npmrc
- name: Build, Prepare, and Publish
run: npm run publish:release
env:
NODE_AUTH_TOKEN: ${{ secrets.WOMBAT_TOKEN }}
NPM_PUBLISH_TAG: ${{ steps.version.outputs.NPM_TAG }}
NPM_DRY_RUN: ${{ steps.run_type.outputs.NPM_DRY_RUN }}