File tree 5 files changed +14
-2
lines changed
5 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 31
31
- name : Spellcheck
32
32
run : npm run check:spelling
33
33
34
+ - name : Lint GitHub Actions
35
+ uses : docker://rhysd/actionlint:latest
36
+ with :
37
+ args : -color
38
+
34
39
checkForCommonlyIgnoredFiles :
35
40
name : Check for commonly ignored files
36
41
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 3
3
workflow_call :
4
4
inputs :
5
5
pullRequestJSON :
6
+ description : String that contain JSON payload for `pull_request` event.
6
7
required : true
7
8
type : string
8
9
secrets :
9
10
NPM_CANARY_PR_PUBLISH_TOKEN :
11
+ description : NPM token to publish canary release.
10
12
required : true
11
13
jobs :
12
14
build-npm-dist :
Original file line number Diff line number Diff line change 3
3
workflow_call :
4
4
inputs :
5
5
pullRequestJSON :
6
+ description : String that contain JSON payload for `pull_request` event.
6
7
required : true
7
8
type : string
8
9
jobs :
19
20
- name : Deepen cloned repo
20
21
env :
21
22
BASE_SHA : ${{ fromJSON(inputs.pullRequestJSON).base.sha }}
22
- run : ' git fetch --depth=1 origin $BASE_SHA:refs/tags/BASE'
23
+ run : ' git fetch --depth=1 origin " $BASE_SHA:refs/tags/BASE" '
23
24
24
25
- name : Setup Node.js
25
26
uses : actions/setup-node@v2
Original file line number Diff line number Diff line change 3
3
workflow_call :
4
4
inputs :
5
5
environment :
6
+ description : Environment to publish under
6
7
required : true
7
8
type : string
8
9
artifact_name :
10
+ description : Artifact name
9
11
required : true
10
12
type : string
11
13
target_branch :
14
+ description : Target branch
12
15
required : true
13
16
type : string
14
17
commit_message :
18
+ description : Commit message
15
19
required : true
16
20
type : string
17
21
jobs :
Original file line number Diff line number Diff line change 16
16
- name : Deepen cloned repo
17
17
env :
18
18
BASE_SHA : ${{ github.event.pull_request.base.sha }}
19
- run : ' git fetch --depth=1 origin $BASE_SHA:refs/tags/BASE'
19
+ run : ' git fetch --depth=1 origin " $BASE_SHA:refs/tags/BASE" '
20
20
21
21
- name : Setup Node.js
22
22
uses : actions/setup-node@v2
You can’t perform that action at this time.
0 commit comments