Skip to content

Commit 19405f5

Browse files
authored
Merge pull request #1359 from ampproject/fix-test
Fix amp-toolbox PR build issues
2 parents 39795ea + fea9a4e commit 19405f5

File tree

12 files changed

+22887
-25879
lines changed

12 files changed

+22887
-25879
lines changed

.github/workflows/CI.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,17 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
node: [12, 14, 16]
14+
node: [20, 22]
1515
os: [ubuntu-latest, macOS-latest, windows-latest]
1616

1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1919
- name: Use node ${{ matrix.node }}
20-
uses: actions/setup-node@v2
20+
uses: actions/setup-node@v4
2121
with:
2222
node-version: ${{ matrix.node }}
2323
registry-url: https://registry.npmjs.org
24-
- name: bootstrap
25-
run: npx lerna bootstrap --hoist
26-
- name: link
27-
run: npx lerna link
24+
- name: install
25+
run: npm install
2826
- name: test
2927
run: npm test

jest.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ module.exports = {
142142
// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
143143
testPathIgnorePatterns: ['/node_modules/', '<rootDir>/packages/optimizer-docker'],
144144

145+
testTimeout: 60 * 1000, // 60 seconds
146+
145147
// The regexp pattern or array of patterns that Jest uses to detect test files
146148
// testRegex: [],
147149

0 commit comments

Comments
 (0)