-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build tweaks #58
build tweaks #58
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,13 +34,12 @@ jobs: | |
- name: Set up node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
architecture: x64 | ||
node-version: lts/* | ||
- name: Update npm | ||
run: npm install -g npm@10 | ||
# new versions of python don't include distutils. setuptools provides it. | ||
- name: Install setuptools | ||
run: pip install setuptools | ||
- name: Update npm | ||
run: npm install -g npm@8 | ||
- name: Install | ||
run: npm ci --ignore-scripts | ||
- name: Build | ||
|
@@ -64,11 +63,8 @@ jobs: | |
with: | ||
node-version: lts/* | ||
registry-url: https://registry.npmjs.org | ||
# new versions of python don't include distutils. setuptools provides it. | ||
- name: Install setuptools | ||
run: pip install setuptools | ||
Comment on lines
-67
to
-69
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. shouldn't need setuptools when only deplying to npm There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i don't recall what the failure was, but i wouldn't have added this unless there was a failure. |
||
- name: Update npm | ||
run: npm install -g npm@8 | ||
run: npm install -g npm@10 | ||
- name: Install | ||
run: npm ci --ignore-scripts | ||
- name: Download artifacts | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,14 +33,12 @@ jobs: | |
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
architecture: x64 | ||
- name: Python version | ||
run: python --version | ||
Comment on lines
-37
to
-38
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. rather than output the system version, we can look at the output from |
||
- name: Update npm | ||
run: npm install -g npm@10 | ||
# new versions of python don't include distutils. setuptools provides it. | ||
- name: Install setuptools | ||
run: pip install setuptools | ||
- name: Install dependencies | ||
- name: Install dependencies and build | ||
run: npm ci | ||
- name: Show node-gyp version | ||
run: npm ls node-gyp | ||
Comment on lines
-43
to
-44
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. see above, the |
||
- name: Test | ||
run: npm test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on macos, using anything less than 22 to build for 22 failed locally as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes sense that the node-22 build requires the node-22 includes. thank you!