Skip to content

Commit 6b1b884

Browse files
authored
chore(ci): pull node-gyp workaround script from Compass repo (#399)
1 parent 2d5b054 commit 6b1b884

File tree

3 files changed

+4
-54
lines changed

3 files changed

+4
-54
lines changed

.github/workflows/node-gyp-workaround.sh

Lines changed: 0 additions & 50 deletions
This file was deleted.

.github/workflows/publish-release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ jobs:
1212
- name: Setup Node.js Environment
1313
uses: actions/[email protected]
1414
with:
15-
node-version: ^14.17.3
15+
node-version: ^14.17.5
1616

1717
- name: Install npm@7
18-
run: npm install -g npm@7
18+
run: npm install -g npm@8.3.1
1919

2020
- name: Run node-gyp bug workaround script
2121
run: |
22-
bash .github/workflows/node-gyp-workaround.sh
22+
curl -sSfLO https://raw.githubusercontent.com/mongodb-js/compass/42e6142ae08be6fec944b80ff6289e6bcd11badf/.evergreen/node-gyp-bug-workaround.sh && bash node-gyp-bug-workaround.sh
2323
2424
- name: Install VSCode publishing dependencies
2525
run: npm install -g vsce

.github/workflows/test-and-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545

4646
- name: Run node-gyp bug workaround script
4747
run: |
48-
bash .github/workflows/node-gyp-workaround.sh
48+
curl -sSfLO https://raw.githubusercontent.com/mongodb-js/compass/42e6142ae08be6fec944b80ff6289e6bcd11badf/.evergreen/node-gyp-bug-workaround.sh && bash node-gyp-bug-workaround.sh
4949
5050
- name: Install [email protected]
5151
run: npm install -g [email protected]

0 commit comments

Comments
 (0)