Skip to content

Commit 3152400

Browse files
authored
ci(next): install deps before running npm scripts (#8370)
**Related Issue:** #8325 ## Summary Resolves [an error](https://github.com/Esri/calcite-design-system/actions/runs/7132693857/job/19423776955#step:4:39) in the `next` deployment CI, which was trying to use `ts-node` before it was installed. The issue was introduced in the PR linked above, which was fixing a [different error](https://github.com/Esri/calcite-design-system/actions/runs/7119908955/job/19386029658#step:5:545) in the `next` deployment CI.
1 parent b0f063e commit 3152400

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/deploy-next.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,13 @@ jobs:
2828
GH_TOKEN_FOR_STORYBOOK: ${{ github.actor }}:${{ secrets.ADMIN_TOKEN }}
2929
run: |
3030
if [ "$NEXT_RELEASE_ENABLED" == "true" ]; then
31+
npm install
32+
3133
if npm run util:is-next-deployable; then
3234
git config --global user.email "github-actions[bot]@users.noreply.github.com"
3335
git config --global user.name "github-actions[bot]"
3436
35-
npm install
36-
# version the packages with lerna before building to ensure
37+
# version the packages with lerna before building to ensure
3738
# the version in the CC source code preamble is correct for deployment
3839
npm run version:next
3940
npm run build

0 commit comments

Comments
 (0)