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 99 runs-on : ubuntu-latest
1010
1111 steps :
12+ - name : Use node version 12.x
13+ uses : actions/setup-node@v1
14+ with :
15+ node-version : 12.x
1216 - uses : actions/checkout@v2
1317 with :
1418 fetch-depth : 5
15- - uses : actions/checkout@v2
1619 - run : |
1720 git checkout -b ${{ github.event.client_payload.branch_name }}
18- - name : update package.json version and corePublic.ts version
19- run : |
2021 sed -i -e 's/"version": ".*"/"version": "${{ github.event.client_payload.package_version }}"/g' package.json
2122 sed -i -e 's/const versionMajorMinor = ".*"/const versionMajorMinor = "${{ github.event.client_payload.core_major_minor }}"/g' src/compiler/corePublic.ts
2223 sed -i -e 's/const versionMajorMinor = ".*"/const versionMajorMinor = "${{ github.event.client_payload.core_major_minor }}"/g' tests/baselines/reference/api/typescript.d.ts
2324 sed -i -e 's/const versionMajorMinor = ".*"/const versionMajorMinor = "${{ github.event.client_payload.core_major_minor }}"/g' tests/baselines/reference/api/tsserverlibrary.d.ts
2425 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 : |
3126 npm install
3227 gulp LKG
3328 npm test
34- - uses : actions/checkout@v2
35- - run : |
3629 git diff
3730 git add package.json
3831 git add src/compiler/corePublic.ts
You can’t perform that action at this time.
0 commit comments