Skip to content

Commit

Permalink
Ensure npm link uses --save
Browse files Browse the repository at this point in the history
To prevent npm install from overriding `npm link` outcomes or getting
errors when running `npm ls` we must be sure we do always add `--save`

Related: npm/cli#2380
Related: ansible/ansible-language-server#130
  • Loading branch information
ssbarnea committed Nov 18, 2021
1 parent b93210e commit 1102eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
run: |
set -ex
mv ansible-language-server ..
npm link ../ansible-language-server
npm link --save ../ansible-language-server
pushd ../ansible-language-server
npm ci
npm run compile
Expand Down

0 comments on commit 1102eb8

Please sign in to comment.