Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

build: fix z-index #35106

Merged
merged 2 commits into from
Jul 1, 2021
Merged

build: fix z-index #35106

merged 2 commits into from
Jul 1, 2021

Conversation

samouri
Copy link
Member

@samouri samouri commented Jul 1, 2021

summary
I created this PR via running amp get-zindex --fix.
I do not know why this was able to get out of sync.

@samouri samouri self-assigned this Jul 1, 2021
@samouri samouri enabled auto-merge (squash) July 1, 2021 17:35
Copy link
Contributor

@caroqliu caroqliu left a comment

Choose a reason for hiding this comment

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

Should we have to include these for files that don't exist permanently in the repo? The ones added in this PR are built only for the npm publishing step. FYI @estherkim

@samouri
Copy link
Member Author

samouri commented Jul 1, 2021

See this check that is failing: https://app.circleci.com/pipelines/github/ampproject/amphtml/12352/workflows/f6450e19-40c7-4955-9a49-e1eebc0081cc/jobs/197521/parallel-runs/0/steps/0-111

Should we modify the z-index check to ignore anything in dist instead?

@samouri samouri disabled auto-merge July 1, 2021 17:52
@alanorozco
Copy link
Member

@samouri: Yes, we should ignore dist

@alanorozco
Copy link
Member

alanorozco commented Jul 1, 2021

Here:

getZindexChainsInJs([
'{3p,src,extensions}/**/*.js',
'!extensions/**/test/**/*.js',
'!extensions/**/storybook/**/*.js',
]),

      getZindexChainsInJs([
        '{3p,src,extensions}/**/*.js',
+       '!**/dist/**/*.js',
        '!extensions/**/test/**/*.js',
        '!extensions/**/storybook/**/*.js',
      ]),

@samouri samouri enabled auto-merge (squash) July 1, 2021 18:28
@samouri samouri merged commit 3dd5870 into ampproject:main Jul 1, 2021
@samouri samouri deleted the fix-zindex branch July 1, 2021 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants