Skip to content

Commit

Permalink
Merge pull request #1359 from ampproject/fix-test
Browse files Browse the repository at this point in the history
Fix amp-toolbox PR build issues
  • Loading branch information
powerivq committed May 28, 2024
2 parents 39795ea + fea9a4e commit 19405f5
Show file tree
Hide file tree
Showing 12 changed files with 22,887 additions and 25,879 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,17 @@ jobs:

strategy:
matrix:
node: [12, 14, 16]
node: [20, 22]
os: [ubuntu-latest, macOS-latest, windows-latest]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use node ${{ matrix.node }}
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
registry-url: https://registry.npmjs.org
- name: bootstrap
run: npx lerna bootstrap --hoist
- name: link
run: npx lerna link
- name: install
run: npm install
- name: test
run: npm test
2 changes: 2 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ module.exports = {
// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
testPathIgnorePatterns: ['/node_modules/', '<rootDir>/packages/optimizer-docker'],

testTimeout: 60 * 1000, // 60 seconds

// The regexp pattern or array of patterns that Jest uses to detect test files
// testRegex: [],

Expand Down
Loading

0 comments on commit 19405f5

Please sign in to comment.