Skip to content

Commit 44cea45

Browse files
ci: install dependencies before releasing nightly version (#2447)
* ci: install dependencies before publishing packages * fix: add env variables to relevant block
1 parent ed3ab6b commit 44cea45

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/nigthly-release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ jobs:
2121
uses: actions/setup-node@v3
2222
with:
2323
node-version: '20'
24-
env:
25-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
24+
cache: yarn
25+
- name: Install dependencies
26+
run: yarn --frozen-lockfile
2627

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

0 commit comments

Comments
 (0)