Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Run amp-linter checks as part of this module #1160

Merged
merged 1 commit into from
Mar 12, 2021
Merged

Run amp-linter checks as part of this module #1160

merged 1 commit into from
Mar 12, 2021

Conversation

sebastianbenz
Copy link
Collaborator

No description provided.

@@ -0,0 +1 @@
gcloud functions deploy checkFonts --entry-point demo/index.js --runtime nodejs14 --trigger-http --allow-unauthenticated --project amp-dev-staging
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are we explicitly needing 14 vs latest stable?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, but you need to pick a runtime and 14 is the latest supported one.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh? The docs read like you could just declare nodejs. 👍

@@ -178,6 +181,7 @@ class PageAnalyzer {
};

return {
url: window.location,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

url is the location object? not window.location.href?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good one! fixed

packages/page-experience/package.json Outdated Show resolved Hide resolved
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants