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

Bump browser build dependencies to Node 20 #120

Merged
merged 1 commit into from Apr 24, 2024

Conversation

dnzxy
Copy link

@dnzxy dnzxy commented Mar 11, 2024

This PR fixes the warning users currently see for browser build for node v16, i.e.

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

In accordance with GitHub Actions: Transitioning from Node 16 to Node 20, all actions must be using node version 20. Bumping the node version from v16 to v20 by using aormsby/Fork-Sync-With-Upstream-action@v3.4.1 (latest release see here) and actions/checkout@v4 (which internally updated to node 20) as well as actions/upload-artifact@v4 (internally uses node 20).

@marionbarker
Copy link
Contributor

I have tested this version with Browser Build.

I created a parallel PR to my loopdocs-tester organization (LoopWorkspace branch update) and ran the browser build for that branch.

  • There was no Node 16 warning in the email
  • The build worked as expected and the appropriate versions (actions/checkout@v4 and aormsby/Fork-Sync-With-Upstream-action@v3.4.1, respectively) were called as reported in the log

The successful log file is here:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants