File tree Expand file tree Collapse file tree 7 files changed +11
-13
lines changed Expand file tree Collapse file tree 7 files changed +11
-13
lines changed Original file line number Diff line number Diff line change 2323 sed -i -e 's/const versionMajorMinor = ".*"/const versionMajorMinor = "${{ github.event.client_payload.core_major_minor }}"/g' tests/baselines/reference/api/typescript.d.ts
2424 sed -i -e 's/const versionMajorMinor = ".*"/const versionMajorMinor = "${{ github.event.client_payload.core_major_minor }}"/g' tests/baselines/reference/api/tsserverlibrary.d.ts
2525 sed -i -e 's/const version = `${versionMajorMinor}.0-.*`/const version = `${versionMajorMinor}.0-${{ github.event.client_payload.core_tag || 'dev' }}`/g' src/compiler/corePublic.ts
26- npm install
26+ npm ci
2727 gulp LKG
2828 npm test
2929 git diff
3232 git add tests/baselines/reference/api/typescript.d.ts
3333 git add tests/baselines/reference/api/tsserverlibrary.d.ts
3434 git add ./lib
35- git config user.email "ts_bot@rcavanaugh .com"
35+ git config user.email "typescriptbot@microsoft .com"
3636 git config user.name "TypeScript Bot"
3737 git commit -m 'Bump version to ${{ github.event.client_payload.package_version }} and LKG'
3838 git push --set-upstream origin ${{ github.event.client_payload.branch_name }}
Original file line number Diff line number Diff line change 2121 npm uninstall tslint --no-save
2222 - name : npm install and test
2323 run : |
24- npm install
25- npm update
24+ npm ci
2625 npm test
2726 env :
2827 CI : true
4140 with :
4241 name : tgz
4342 path : typescript.tgz
44-
Original file line number Diff line number Diff line change 2929 sed -i -e 's/const versionMajorMinor = ".*"/const versionMajorMinor = "${{ github.event.client_payload.core_major_minor }}"/g' tests/baselines/reference/api/typescript.d.ts
3030 sed -i -e 's/const versionMajorMinor = ".*"/const versionMajorMinor = "${{ github.event.client_payload.core_major_minor }}"/g' tests/baselines/reference/api/tsserverlibrary.d.ts
3131 sed -i -e 's/const version = .*;/const version = "${{ github.event.client_payload.package_version }}" as string;/g' src/compiler/corePublic.ts
32- npm install
32+ npm ci
3333 gulp LKG
3434 npm test
3535 git diff
3838 git add tests/baselines/reference/api/typescript.d.ts
3939 git add tests/baselines/reference/api/tsserverlibrary.d.ts
4040 git add ./lib
41- git config user.email "ts_bot@rcavanaugh .com"
41+ git config user.email "typescriptbot@microsoft .com"
4242 git config user.name "TypeScript Bot"
4343 git commit -m 'Bump version to ${{ github.event.client_payload.package_version }} and LKG'
4444 git push
Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ jobs:
2020 # required client_payload members:
2121 # branch_name - the target branch
2222 - run : |
23- git config user.email "ts_bot@rcavanaugh .com"
23+ git config user.email "typescriptbot@microsoft .com"
2424 git config user.name "TypeScript Bot"
2525 git fetch origin master
2626 git merge master --no-ff
27- npm install
27+ npm ci
2828 npm test
2929 git push
Original file line number Diff line number Diff line change 1717
1818 - name : Configure Git and Update LKG
1919 run : |
20- git config user.email "ts_bot@rcavanaugh .com"
20+ git config user.email "typescriptbot@microsoft .com"
2121 git config user.name "TypeScript Bot"
22- npm install
22+ npm ci
2323 gulp LKG
2424 npm test
2525 git diff
Original file line number Diff line number Diff line change 22FROM node:current
33COPY . /typescript
44WORKDIR /typescript
5- RUN npm install
5+ RUN npm ci
66RUN npm i -g gulp-cli
77RUN gulp configure-insiders && gulp LKG && gulp clean && npm pack .
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ Install [Gulp](https://gulpjs.com/) tools and dev dependencies:
6767
6868``` bash
6969npm install -g gulp
70- npm install
70+ npm ci
7171```
7272
7373Use one of the following to build and test:
You can’t perform that action at this time.
0 commit comments