Skip to content

Commit

Permalink
hack: Do sed trick conditionally in CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
keeler committed Jun 3, 2022
1 parent b90bbb5 commit 5083990
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ jobs:
with:
node-version: ${{matrix.node_version}}

# See https://github.com/npm/cli/issues/2610
- name: Hack for Node 14
run: |
if [[ "${{matrix.node_version}}" = "14" ]]; then
sed -i 's/git+ssh/git+https/g' package-lock.json
fi
exit 0
- name: Install
run: npm ci

Expand Down

0 comments on commit 5083990

Please sign in to comment.