File tree 7 files changed +37
-11
lines changed
7 files changed +37
-11
lines changed Original file line number Diff line number Diff line change 23
23
sed -i -e 's/const versionMajorMinor = ".*"/const versionMajorMinor = "${{ github.event.client_payload.core_major_minor }}"/g' tests/baselines/reference/api/typescript.d.ts
24
24
sed -i -e 's/const versionMajorMinor = ".*"/const versionMajorMinor = "${{ github.event.client_payload.core_major_minor }}"/g' tests/baselines/reference/api/tsserverlibrary.d.ts
25
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
26
- npm install
26
+ npm ci
27
27
gulp LKG
28
28
npm test
29
29
git diff
32
32
git add tests/baselines/reference/api/typescript.d.ts
33
33
git add tests/baselines/reference/api/tsserverlibrary.d.ts
34
34
git add ./lib
35
- git config user.email "ts_bot@rcavanaugh .com"
35
+ git config user.email "typescriptbot@microsoft .com"
36
36
git config user.name "TypeScript Bot"
37
37
git commit -m 'Bump version to ${{ github.event.client_payload.package_version }} and LKG'
38
38
git push --set-upstream origin ${{ github.event.client_payload.branch_name }}
Original file line number Diff line number Diff line change 21
21
npm uninstall tslint --no-save
22
22
- name : npm install and test
23
23
run : |
24
- npm install
25
- npm update
24
+ npm ci
26
25
npm test
27
26
env :
28
27
CI : true
41
40
with :
42
41
name : tgz
43
42
path : typescript.tgz
44
-
Original file line number Diff line number Diff line change 29
29
sed -i -e 's/const versionMajorMinor = ".*"/const versionMajorMinor = "${{ github.event.client_payload.core_major_minor }}"/g' tests/baselines/reference/api/typescript.d.ts
30
30
sed -i -e 's/const versionMajorMinor = ".*"/const versionMajorMinor = "${{ github.event.client_payload.core_major_minor }}"/g' tests/baselines/reference/api/tsserverlibrary.d.ts
31
31
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
33
33
gulp LKG
34
34
npm test
35
35
git diff
38
38
git add tests/baselines/reference/api/typescript.d.ts
39
39
git add tests/baselines/reference/api/tsserverlibrary.d.ts
40
40
git add ./lib
41
- git config user.email "ts_bot@rcavanaugh .com"
41
+ git config user.email "typescriptbot@microsoft .com"
42
42
git config user.name "TypeScript Bot"
43
43
git commit -m 'Bump version to ${{ github.event.client_payload.package_version }} and LKG'
44
44
git push
Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ jobs:
20
20
# required client_payload members:
21
21
# branch_name - the target branch
22
22
- run : |
23
- git config user.email "ts_bot@rcavanaugh .com"
23
+ git config user.email "typescriptbot@microsoft .com"
24
24
git config user.name "TypeScript Bot"
25
25
git fetch origin master
26
26
git merge master --no-ff
27
- npm install
27
+ npm ci
28
28
npm test
29
29
git push
Original file line number Diff line number Diff line change
1
+ name : Update LKG
2
+
3
+ on :
4
+ workflow_dispatch : {}
5
+
6
+ jobs :
7
+ build :
8
+ runs-on : ubuntu-latest
9
+
10
+ steps :
11
+ - uses : actions/checkout@v2
12
+ - name : Use node version 12
13
+ uses : actions/setup-node@v1
14
+ with :
15
+ node-version : 12
16
+ registry-url : https://registry.npmjs.org/
17
+
18
+ - name : Configure Git and Update LKG
19
+ run : |
20
+ git config user.email "[email protected] "
21
+ git config user.name "TypeScript Bot"
22
+ npm ci
23
+ gulp LKG
24
+ npm test
25
+ git diff
26
+ git add ./lib
27
+ git commit -m "Update LKG"
28
+ git push
Original file line number Diff line number Diff line change 2
2
FROM node:current
3
3
COPY . /typescript
4
4
WORKDIR /typescript
5
- RUN npm install
5
+ RUN npm ci
6
6
RUN npm i -g gulp-cli
7
7
RUN 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:
67
67
68
68
``` bash
69
69
npm install -g gulp
70
- npm install
70
+ npm ci
71
71
```
72
72
73
73
Use one of the following to build and test:
You can’t perform that action at this time.
0 commit comments