Skip to content

Commit 457c008

Browse files
committed
Fixup build pipeline
- Stop using chai replace with @nevware21/tripwire - Drop node 14 and 16 from build CI pipeline - Ugrade typescript - Upgrade typedoc - Upgrade @Microsoft/Rush - Add GitHub Actions workflow for auto approving
1 parent e084d5b commit 457c008

51 files changed

Lines changed: 1399 additions & 7212 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,33 @@ jobs:
1818

1919
strategy:
2020
matrix:
21-
node-version: [ 12, 14, 16, 18 ]
21+
node: [ 16, 18, 20, 22 ]
2222
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2323

2424
steps:
25-
- uses: actions/checkout@v3
26-
- name: Use Node.js ${{ matrix.node_version }}
27-
uses: actions/setup-node@v3
25+
- uses: actions/checkout@v6
26+
- name: Use Node.js ${{ matrix.node }}
27+
uses: actions/setup-node@v6
2828
with:
29-
node-version: ${{ matrix.node_version }}
30-
- run: npm install
29+
node-version: ${{ matrix.node }}
30+
31+
- name: Update rush shrinkwrap dependencies
32+
run: node common/scripts/install-run-rush.js update --full
33+
34+
- name: Npm Install
35+
run: npm install
36+
3137
- name: Build
3238
run: npm run build --verbose
33-
timeout-minutes: 10
39+
timeout-minutes: 15
40+
3441
- name: Unit tests
35-
run: npm run test --verbose
36-
- name: Report Coverage
37-
run: npm run codecov
42+
run: node common/scripts/install-run-rush.js test --verbose
43+
timeout-minutes: 15
44+
45+
- name: Upload Coverage
46+
uses: codecov/codecov-action@v5
47+
with:
48+
files: ./coverage/coverage-final.json
49+
token: ${{ secrets.CODECOV_TOKEN }}
50+

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ to your application or libraries. The support is all built and tested using Type
1414
primary focuses of this package is to provide support for the creation of code that can be better minified, resulting in a smaller runtime payload which can directly assist with Page Load performance.
1515

1616
### Test Environments
17-
- Node (12, 14, 16, 18)
17+
- Node (16, 18, 20, 22)
1818
- Browser (Chromium - headless)
1919
- Web Worker (Chromium - headless)
2020

common/config/rush/command-line.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,6 @@
7171
"enableParallelism": false,
7272
"ignoreMissingScript": false,
7373
"allowWarningsInSuccessfulBuild": true
74-
},
75-
{
76-
"commandKind": "bulk",
77-
"summary": "Run all codecov targets for all packages",
78-
"name": "codecov",
79-
"description": "Runs codecov for all projects",
80-
"safeForSimultaneousRushProcesses": false,
81-
"enableParallelism": false,
82-
"ignoreMissingScript": false,
83-
"allowWarningsInSuccessfulBuild": true
8474
}
8575
]
8676
}

0 commit comments

Comments
 (0)