Skip to content

Commit

Permalink
ci(release): use npm@9 for semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
lfantone committed Aug 18, 2023
1 parent 9982c75 commit c87182f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install and configure NPM for workspaces
# NPM@9 has support for workspaces, we need to make sure that we have that version. `actions/setup-node` installs 8.19.
# @link: https://github.com/semantic-release/npm/pull/512
run: |
npm install -g npm@${{ env.NPM_VERSION }}
npm config set workspaces=true workspaces-update=false --global
- name: Install dependencies
run: npm clean-install
- name: Semantic release
Expand Down

0 comments on commit c87182f

Please sign in to comment.