Skip to content
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

fix(ci): temporarily pin matrix to Node 16 on Ubuntu #113

Merged
merged 2 commits into from
Dec 31, 2024

Conversation

agilgur5
Copy link
Owner

@agilgur5 agilgur5 commented Dec 31, 2024

Summary

Use node-version: [16.x] and os: [ubuntu-latest] for the CI matrix to get it to pass for now

Details

For now, just get CI working on a single OS and Node version.

Notes to Reviewers

  • also need to update branch protection to check for the Node 16 action (instead of the Node 14 one)

@agilgur5 agilgur5 added the kind: internal Changes only affect the internals and not the API or usage label Dec 31, 2024
Copy link
Owner Author

@agilgur5 agilgur5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ CI passes now. Coverage was manually checked and Codecov check will need to be bypassed for now per #112 (comment)

@agilgur5 agilgur5 force-pushed the fix-ci-temp-pin-node branch from 91f498c to 23638df Compare December 31, 2024 18:57
- Node 14 [fails to install](https://github.com/agilgur5/react-signature-canvas/actions/runs/12562533381/job/35023139557?pr=112)
  - ```txt
    Run actions/setup-node@v3
    Attempting to download 14.x...
    Not found in manifest. Falling back to download directly from Node
    Error: Unable to find Node version '14.x' for platform darwin and architecture arm64.
    ```

- keep Node 16 for now, although it is out-of-support
  - ensure continuous range testing; should bump that later too
- that one [passed](https://github.com/agilgur5/react-signature-canvas/actions/runs/12562533381/job/35023139677)
- 18.x and other 16.x versions failed to install `node-canvas`, c.f. issue comment
@agilgur5 agilgur5 force-pushed the fix-ci-temp-pin-node branch from 23638df to 92e3185 Compare December 31, 2024 18:59
@agilgur5 agilgur5 merged commit a96c383 into main Dec 31, 2024
1 check passed
@agilgur5 agilgur5 deleted the fix-ci-temp-pin-node branch December 31, 2024 19:01
@agilgur5 agilgur5 added the scope: dependencies Pull requests that update a dependency file label Dec 31, 2024
agilgur5 added a commit that referenced this pull request Jan 3, 2025
* update to use LTS Node 18

- Node 14 [fails to install](https://github.com/agilgur5/react-signature-canvas/actions/runs/12562533381/job/35023139557?pr=112)
  - ```txt
    Run actions/setup-node@v3
    Attempting to download 14.x...
    Not found in manifest. Falling back to download directly from Node
    Error: Unable to find Node version '14.x' for platform darwin and architecture arm64.
    ```

- keep Node 16 for now, although it is out-of-support
  - ensure continuous range testing; should bump that later too

* try 16.x on Ubuntu only for now

- that one [passed](https://github.com/agilgur5/react-signature-canvas/actions/runs/12562533381/job/35023139677)
- 18.x and other 16.x versions failed to install `node-canvas`, c.f. PR comment

(cherry picked from commit a96c383)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: internal Changes only affect the internals and not the API or usage scope: dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant