File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-latest
10
10
11
11
steps :
12
+ - name : Use node version 12.x
13
+ uses : actions/setup-node@v1
14
+ with :
15
+ node-version : 12.x
12
16
- uses : actions/checkout@v2
13
17
with :
14
18
fetch-depth : 5
15
- - uses : actions/checkout@v2
16
19
- run : |
17
20
git checkout -b ${{ github.event.client_payload.branch_name }}
18
- - name : update package.json version and corePublic.ts version
19
- run : |
20
21
sed -i -e 's/"version": ".*"/"version": "${{ github.event.client_payload.package_version }}"/g' package.json
21
22
sed -i -e 's/const versionMajorMinor = ".*"/const versionMajorMinor = "${{ github.event.client_payload.core_major_minor }}"/g' src/compiler/corePublic.ts
22
23
sed -i -e 's/const versionMajorMinor = ".*"/const versionMajorMinor = "${{ github.event.client_payload.core_major_minor }}"/g' tests/baselines/reference/api/typescript.d.ts
23
24
sed -i -e 's/const versionMajorMinor = ".*"/const versionMajorMinor = "${{ github.event.client_payload.core_major_minor }}"/g' tests/baselines/reference/api/tsserverlibrary.d.ts
24
25
sed -i -e 's/const version = `${versionMajorMinor}.0-.*`/const version = `${versionMajorMinor}.0-${{ github.event.client_payload.core_tag || 'dev' }}`/g' src/compiler/corePublic.ts
25
- - name : Use node version 12.x
26
- uses : actions/setup-node@v1
27
- with :
28
- node-version : 12.x
29
- - name : gulp LKG
30
- run : |
31
26
npm install
32
27
gulp LKG
33
28
npm test
34
- - uses : actions/checkout@v2
35
- - run : |
36
29
git diff
37
30
git add package.json
38
31
git add src/compiler/corePublic.ts
You can’t perform that action at this time.
0 commit comments