File tree Expand file tree Collapse file tree 4 files changed +435
-16
lines changed
Expand file tree Collapse file tree 4 files changed +435
-16
lines changed Original file line number Diff line number Diff line change @@ -7,15 +7,24 @@ branding:
77 color : " black"
88
99runs :
10- using : " docker"
11- image : " action/Dockerfile"
12- env :
13- LINGODOTDEV_API_KEY : ${{ inputs.api-key }}
14- LINGODOTDEV_PULL_REQUEST : ${{ inputs.pull-request }}
15- LINGODOTDEV_COMMIT_MESSAGE : ${{ inputs.commit-message }}
16- LINGODOTDEV_PULL_REQUEST_TITLE : ${{ inputs.pull-request-title }}
17- LINGODOTDEV_WORKING_DIRECTORY : ${{ inputs.working-directory }}
18- LINGODOTDEV_PROCESS_OWN_COMMITS : ${{ inputs.process-own-commits }}
10+ using : " composite"
11+ steps :
12+ - name : Install pnpm
13+ run : cd ${{ github.action_path }} && npm install -g pnpm && pnpm install
14+ shell : bash
15+ - name : Build
16+ run : cd ${{ github.action_path }}/action && pnpm build
17+ shell : bash
18+ - name : Run
19+ run : node ${{ github.action_path }}/action/build/index.js
20+ shell : bash
21+ env :
22+ LINGODOTDEV_API_KEY : ${{ inputs.api-key }}
23+ LINGODOTDEV_PULL_REQUEST : ${{ inputs.pull-request }}
24+ LINGODOTDEV_COMMIT_MESSAGE : ${{ inputs.commit-message }}
25+ LINGODOTDEV_PULL_REQUEST_TITLE : ${{ inputs.pull-request-title }}
26+ LINGODOTDEV_WORKING_DIRECTORY : ${{ inputs.working-directory }}
27+ LINGODOTDEV_PROCESS_OWN_COMMITS : ${{ inputs.process-own-commits }}
1928inputs :
2029 api-key :
2130 description : " Lingo.dev Platform API Key"
Original file line number Diff line number Diff line change 11{
2+ "name" : " @lingo.dev/~action" ,
3+ "private" : true ,
24 "type" : " module" ,
35 "scripts" : {
46 "build" : " tsc"
You can’t perform that action at this time.
0 commit comments