-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
22 additions
and
22 deletions.
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" | ||
} | ||
} |