-
Notifications
You must be signed in to change notification settings - Fork 1
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
11 changed files
with
67 additions
and
37 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'davinci-github-actions': minor | ||
--- | ||
|
||
- add option of specifying the version of Node.js used for some of the actions (`build-publish-alpha-package`, `build-push-image`, `deploy-storybook`, `report-affected-packages`) |
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 |
---|---|---|
|
@@ -40,7 +40,7 @@ jobs: | |
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
|
||
- name: Setup Node.js 18.x | ||
- name: Set up Node.js 18.x | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 18 | ||
|
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ jobs: | |
# This forces changesets to use git user, provided by GITHUB_TOKEN env var | ||
persist-credentials: false | ||
|
||
- name: Setup node | ||
- name: Set up node | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 18 | ||
|
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 |
---|---|---|
|
@@ -15,6 +15,10 @@ inputs: | |
root-folder: | ||
required: false | ||
description: 'Root folder of a package to be published || string' | ||
node-version: | ||
required: false | ||
default: 18 | ||
description: 'Node.js version used. The action is guaranteed to work only with Node.js@18 (default value)' | ||
|
||
runs: | ||
using: composite | ||
|
@@ -26,10 +30,10 @@ runs: | |
run: | | ||
npm set "//registry.npmjs.org/:_authToken=$NPM_TOKEN" | ||
- name: Setup node | ||
- name: Set up node | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 18 | ||
node-version: ${{ inputs.node-version }} | ||
|
||
- 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 |
---|---|---|
|
@@ -28,22 +28,26 @@ inputs: | |
description: 'Custom davinci branch' | ||
required: false | ||
default: 'master' | ||
node-version: | ||
required: false | ||
default: 18 | ||
description: 'Node.js version used. The action is guaranteed to work only with Node.js@18 (default value)' | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Checkout davinci | ||
- name: Check out davinci | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: toptal/davinci | ||
token: ${{ env.GITHUB_TOKEN }} | ||
path: davinci | ||
ref: ${{ inputs.davinci-branch }} | ||
|
||
- name: Setup node | ||
- name: Set up node | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 18 | ||
node-version: ${{ inputs.node-version }} | ||
|
||
- id: meta-latest | ||
shell: bash | ||
|
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
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 |
---|---|---|
@@ -1,12 +1,18 @@ | ||
name: 'Report affected packages' | ||
description: 'Generate a diagram of affected monorepo packages as a job summary. Works with workflows triggered by pull_request event.' | ||
|
||
inputs: | ||
node-version: | ||
required: false | ||
default: 18 | ||
description: 'Node.js version used. The action is guaranteed to work only with Node.js@18 (default value)' | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: 18 | ||
node-version: ${{ inputs.node-version }} | ||
|
||
- uses: masesgroup/retrieve-changed-files@2e42889ff54e0810cf088f73a38a2db5a9d0684f | ||
id: files | ||
|