File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Pre-Prepare
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ pull-langugageserver :
7+ description : " Are there changes to language server?"
8+ required : true
9+ target-branch :
10+ description : name of the branch that contains the desired changes
11+ required : true
12+
13+ permissions :
14+ contents : write
15+
16+ jobs :
17+ build :
18+ runs-on : ubuntu-latest
19+ steps :
20+ - name : Checkout
21+ uses : actions/checkout@v2
22+ with :
23+ fetch-depth : 0
24+ ref : ${{github.event.inputs.target-branch}}
25+ - name : Setup Node
26+ uses : actions/setup-node@v2
27+ with :
28+ node-version : 16.x
29+ cache : " npm"
30+ registry-url : " https://npm.pkg.github.com"
31+ - name : run npm install
32+ run : npm install @actions/languageserver@latest @actions/workflow-parser@latest --workspaces=false
33+ - name : revert changes to package.json
34+ run : git checkout -- package.json
35+ - name : debugging
36+ run : git diff
37+ - name : run npm i
38+ run : npm i
39+ - name : debugging
40+ run : git diff
41+ - uses : stefanzweifel/git-auto-commit-action@v4
42+ with :
43+ branch : ${{github.event.inputs.target-branch}}
44+
45+
You can’t perform that action at this time.
0 commit comments