Skip to content

Commit ed27a94

Browse files
committed
Fixup build pipeline
- Drop node 14 from build CI pipeline - Ugrade typescript - Upgrade typedoc - Upgrade @Microsoft/Rush - Add GitHub Actions workflow for auto approving
1 parent e084d5b commit ed27a94

26 files changed

Lines changed: 1121 additions & 6829 deletions

.github/workflows/ci.yml

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

1919
strategy:
2020
matrix:
21-
node-version: [ 12, 14, 16, 18 ]
21+
node: [ 14, 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
3542
run: npm run test --verbose
43+
timeout-minutes: 15
44+
3645
- name: Report Coverage
3746
run: npm run codecov
47+
48+
- name: Upload Coverage
49+
uses: codecov/codecov-action@v5
50+
with:
51+
files: ./coverage/coverage-final.json
52+
token: ${{ secrets.CODECOV_TOKEN }}
53+

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 (14, 16, 18, 20, 22)
1818
- Browser (Chromium - headless)
1919
- Web Worker (Chromium - headless)
2020

0 commit comments

Comments
 (0)