Skip to content

Commit

Permalink
ci: install dependencies before releasing nightly version (#2447)
Browse files Browse the repository at this point in the history
* ci: install dependencies before publishing packages

* fix: add env variables to relevant block
  • Loading branch information
szymonrybczak committed Jul 6, 2024
1 parent ed3ab6b commit 44cea45
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/nigthly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '20'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
cache: yarn
- name: Install dependencies
run: yarn --frozen-lockfile

- name: 'Setup git user'
run: |
Expand All @@ -45,6 +46,7 @@ jobs:
if: steps.check.outputs.changed == 'true'
env:
GH_TOKEN: ${{ github.token }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
# Get the current commit hash
COMMIT_HASH=$(git rev-parse --short HEAD)
Expand Down

0 comments on commit 44cea45

Please sign in to comment.