File tree 2 files changed +44
-0
lines changed
2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ # From https://github.com/remirror/template/blob/4f8c5f5629a081217672a8cce1df085510f43913/.github/actions/pnpm/action.yml
2
+ name : ' pnpm installation'
3
+ description : ' Install and audit dependencies for pnpm'
4
+ inputs :
5
+ cache : # id of input
6
+ description : ' The location of the pnpm cache'
7
+ required : true
8
+ default : ' .pnpm-store'
9
+ version : # id of input
10
+ description : ' The version to use'
11
+ required : false
12
+ default : 6.10.0
13
+
14
+ runs :
15
+ using : ' composite'
16
+ steps :
17
+ - name : install pnpm
18
+ run : npm install pnpm@${{ inputs.version }} -g
19
+ shell : bash
20
+
21
+ - name : setup pnpm config
22
+ run : pnpm config set store-dir ${{ inputs.cache }}
23
+ shell : bash
24
+
25
+ - name : install dependencies
26
+ run : pnpm install --shamefully-hoist
27
+ shell : bash
Original file line number Diff line number Diff line change
1
+ name : ' Lint PR'
2
+
3
+ on :
4
+ pull_request_target :
5
+ types :
6
+ - opened
7
+ - edited
8
+ - synchronize
9
+
10
+ jobs :
11
+ main :
12
+ name : Validate PR title
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - uses : amannn/action-semantic-pull-request@v5
16
+ env :
17
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments