Skip to content

Commit 19153c5

Browse files
committed
install latest npm for workspace publish support
1 parent 4f8b061 commit 19153c5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
uses: actions/setup-node@v2
2525
with:
2626
node-version: ${{ matrix.node_version }}
27+
- name: Install latest NPM
28+
run: npm install -g npm@7
2729
- name: NPM install with caching
2830
uses: bahmutov/npm-install@v1
2931
- name: Set Min Version
@@ -33,7 +35,6 @@ jobs:
3335
tag-prefix: v
3436
- name: Build Version
3537
run: |
36-
npm --version
3738
npm install --global replace-in-files-cli
3839
echo "MINVERVERSIONOVERRIDE=${{steps.version.outputs.version}}" >> $GITHUB_ENV
3940
npm run version -- ${{steps.version.outputs.version}}

0 commit comments

Comments
 (0)