Skip to content

Commit 78e3f21

Browse files
committed
Remove full npm install from the changesets job
1 parent 17f163a commit 78e3f21

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/test-build.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ jobs:
6565
- name: Checkout
6666
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
6767
with:
68-
submodules: true
6968
# `fetch-depth: 0` is required to create tags for new releases by Changesets.
7069
fetch-depth: 0
7170
# `persist-credentials: false` is important not only for security reasons
@@ -74,10 +73,12 @@ jobs:
7473
# Ref: https://github.com/orgs/community/discussions/26220
7574
persist-credentials: false
7675

77-
- uses: ./.github/actions/init-all
76+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
7877
with:
7978
node-version-file: ".nvmrc"
80-
protoc: false
79+
cache: 'npm'
80+
81+
- run: npm install -g @changesets/cli
8182

8283
- name: Generate a token
8384
id: generate-token

0 commit comments

Comments
 (0)