Merge pull request #23 from Sparticuz/fix/deps
This commit is contained in:
commit
5e9be990f8
2
Makefile
2
Makefile
|
|
@ -8,7 +8,7 @@ pretest:
|
|||
npm install --prefix _/amazon/handlers puppeteer-core@latest --bin-links=false --fund=false --omit=optional --omit=dev --package-lock=false --save=false
|
||||
|
||||
test:
|
||||
sam local invoke --template _/amazon/template.yml --event _/amazon/events/example.com.json node16
|
||||
sam local invoke --template _/amazon/template.yml --event _/amazon/events/example.com.json node18
|
||||
|
||||
.fonts.zip:
|
||||
zip -9 --filesync --move --recurse-paths .fonts.zip .fonts/
|
||||
|
|
|
|||
|
|
@ -3,21 +3,21 @@
|
|||
"url": "https://example.com",
|
||||
"expected": {
|
||||
"title": "Example Domain",
|
||||
"screenshot": "72e10960dcf78c864f3d3635e3beb5be394daf40"
|
||||
"screenshot": "02b4ebddcf15459571f775df95174eaf08b4fa45"
|
||||
}
|
||||
},
|
||||
{
|
||||
"url": "https://example.com",
|
||||
"expected": {
|
||||
"title": "Example Domain",
|
||||
"screenshot": "72e10960dcf78c864f3d3635e3beb5be394daf40"
|
||||
"screenshot": "02b4ebddcf15459571f775df95174eaf08b4fa45"
|
||||
}
|
||||
},
|
||||
{
|
||||
"url": "https://get.webgl.org",
|
||||
"expected": {
|
||||
"remove": "logo-container",
|
||||
"screenshot": "25ac96a4e44f338f5362c18da2b2823ee599c330"
|
||||
"screenshot": "f4577bc1eef0f4625985a439914c600dcb995e71"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ Resources:
|
|||
CompatibleRuntimes:
|
||||
- nodejs14.x
|
||||
- nodejs16.x
|
||||
- nodejs18.x
|
||||
|
||||
node14:
|
||||
Type: AWS::Serverless::Function
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in New Issue