-
Notifications
You must be signed in to change notification settings - Fork 15
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
Upgrade to Node v20 #4632
Draft
vedrani
wants to merge
1
commit into
master
Choose a base branch
from
PF-upgrade-node-20
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Upgrade to Node v20 #4632
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ on: | |
pull_request: | ||
branches: | ||
- master # triggers the flow for every PR to master | ||
- "feature/**" # triggers the flow for a PR to a branch like feature/v9 | ||
- 'feature/**' # triggers the flow for a PR to a branch like feature/v9 | ||
|
||
types: | ||
- synchronize # PR was updated | ||
|
@@ -128,7 +128,7 @@ jobs: | |
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
node-version: 20 | ||
|
||
- name: Check missing changeset | ||
uses: toptal/davinci-github-actions/[email protected] | ||
|
@@ -203,7 +203,7 @@ jobs: | |
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
node-version: 20 | ||
|
||
- name: Install dependencies from cache | ||
uses: toptal/davinci-github-actions/[email protected] | ||
|
@@ -294,7 +294,7 @@ jobs: | |
"BRANCH": "${{ env.BRANCH }}", | ||
"PR_ID": "${{ env.PR_ID }}" | ||
} | ||
job_timeout: "3600" | ||
job_timeout: '3600' | ||
|
||
- name: Create Jira Deployment | ||
uses: ./.github/actions/create-jira-deployment/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ jobs: | |
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
node-version: 20 | ||
|
||
- uses: toptal/davinci-github-actions/[email protected] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,7 +54,7 @@ jobs: | |
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
node-version: 20 | ||
|
||
- uses: toptal/davinci-github-actions/[email protected] | ||
|
||
|
@@ -64,7 +64,7 @@ jobs: | |
- name: Cache built packages | ||
uses: actions/cache@v3 | ||
with: | ||
path: "packages/**/dist-package" | ||
path: 'packages/**/dist-package' | ||
key: ${{ runner.os }}-pkgs-${{ github.run_id }} }} | ||
|
||
integration-tests: | ||
|
@@ -113,14 +113,14 @@ jobs: | |
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
node-version: 20 | ||
|
||
- uses: toptal/davinci-github-actions/[email protected] | ||
|
||
- name: Get cached packages | ||
uses: actions/cache@v3 | ||
with: | ||
path: "packages/**/dist-package" | ||
path: 'packages/**/dist-package' | ||
key: ${{ runner.os }}-pkgs-${{ github.run_id }} }} | ||
|
||
- name: Run integration tests | ||
|
@@ -172,7 +172,7 @@ jobs: | |
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
node-version: 20 | ||
|
||
- uses: toptal/davinci-github-actions/[email protected] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,7 +78,7 @@ jobs: | |
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
node-version: 20 | ||
|
||
- name: Get yarn cache directory path | ||
id: yarn-cache-dir-path | ||
|
@@ -190,7 +190,7 @@ jobs: | |
{ | ||
"COMMIT_ID": "${{ github.sha }}" | ||
} | ||
job_timeout: "7200" | ||
job_timeout: '7200' | ||
|
||
- name: Send a Slack notification on failure | ||
if: ${{ failure() }} | ||
|
@@ -200,24 +200,24 @@ jobs: | |
FAILURE_URL: ${{ steps.trigger-deploy.outputs.jenkins_job_url || steps.trigger-build.outputs.jenkins_job_url }} | ||
FALLBACK_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}?check_suite_focus=true | ||
with: | ||
channel-id: "-frontend-exp-team-notifications" | ||
slack-message: ":x: <!here> Current master version of Picasso is <${{ env.FAILURE_URL || env.FALLBACK_URL }}|broken>." | ||
channel-id: '-frontend-exp-team-notifications' | ||
slack-message: ':x: <!here> Current master version of Picasso is <${{ env.FAILURE_URL || env.FALLBACK_URL }}|broken>.' | ||
|
||
- name: Send a Slack notification on success release | ||
if: ${{ success() && steps.changesets.outputs.published == 'true' }} | ||
uses: slackapi/[email protected] | ||
with: | ||
channel-id: "-frontend-exp-team-notifications" | ||
slack-message: "Current master version of Picasso successfully released :green_heart:" | ||
channel-id: '-frontend-exp-team-notifications' | ||
slack-message: 'Current master version of Picasso successfully released :green_heart:' | ||
env: | ||
SLACK_BOT_TOKEN: ${{ env.SLACK_BOT_TOKEN }} | ||
|
||
- name: Send a Slack notification on success PR merge | ||
if: ${{ success() && steps.changesets.outputs.published != 'true'}} | ||
uses: slackapi/[email protected] | ||
with: | ||
channel-id: "-frontend-exp-team-notifications" | ||
slack-message: "A new PR was merged to Picasso :parrotspin:" | ||
channel-id: '-frontend-exp-team-notifications' | ||
slack-message: 'A new PR was merged to Picasso :parrotspin:' | ||
env: | ||
SLACK_BOT_TOKEN: ${{ env.SLACK_BOT_TOKEN }} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,7 +59,7 @@ jobs: | |
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
node-version: 20 | ||
|
||
- uses: toptal/davinci-github-actions/[email protected] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -193,7 +193,7 @@ | |
"zx": "^8.0.2" | ||
}, | ||
"engines": { | ||
"node": ">=18" | ||
"node": ">=20" | ||
}, | ||
"files": [ | ||
"src" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,6 +48,6 @@ | |
"src" | ||
], | ||
"engines": { | ||
"node": ">=18" | ||
"node": ">=20" | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
We need to change it to something like
#-frontend-notifications