More node 18 testing
This commit is contained in:
parent
16b09ba518
commit
fa6e3ac2a7
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
|
npm install --prefix _/amazon/handlers puppeteer-core@latest --bin-links=false --fund=false --omit=optional --omit=dev --package-lock=false --save=false
|
||||||
|
|
||||||
test:
|
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:
|
.fonts.zip:
|
||||||
zip -9 --filesync --move --recurse-paths .fonts.zip .fonts/
|
zip -9 --filesync --move --recurse-paths .fonts.zip .fonts/
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@ Resources:
|
||||||
CompatibleRuntimes:
|
CompatibleRuntimes:
|
||||||
- nodejs14.x
|
- nodejs14.x
|
||||||
- nodejs16.x
|
- nodejs16.x
|
||||||
|
- nodejs18.x
|
||||||
|
|
||||||
node14:
|
node14:
|
||||||
Type: AWS::Serverless::Function
|
Type: AWS::Serverless::Function
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue