Skip to content

Commit

Permalink
build: fixes issue with npm token not being in memory
Browse files Browse the repository at this point in the history
  • Loading branch information
geometricpanda committed Jul 5, 2022
1 parent 2ccbc1e commit 18a1d3d
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,28 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org'
scope: '@geometricpanda'

- name: Setup Git
run: |
git config user.name "GitHub Bot"
git config user.email "[email protected]"
- run: yarn install --frozen-lockfile
- run: yarn nx run angular-tilt:build:production
- name: Install Dependencies
run: yarn install --frozen-lockfile

- name: Version
shell: bash
run: yarn nx affected --base=last-release --target=version
run: npx nx affected --base=last-release --target=version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

- name: Tag last-release
shell: bash
run: |
Expand Down

0 comments on commit 18a1d3d

Please sign in to comment.