Skip to content

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

Merged
sebastianbenz merged 1 commit intomainfrom
px-linter
Mar 12, 2021
Merged

Run amp-linter checks as part of this module#1160
sebastianbenz merged 1 commit intomainfrom
px-linter

Conversation

@sebastianbenz
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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. 👍

};

return {
url: window.location,
Copy link
Copy Markdown
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
Copy Markdown
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

@sebastianbenz sebastianbenz merged commit 613fe64 into main Mar 12, 2021
renovate-bot pushed a commit to renovate-bot/amp-toolbox that referenced this pull request Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants