Unverified Commit 28394794 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Ensure we only ignore .git cache for check-precompiled (#29274)

parent 7b74f777
...@@ -53,9 +53,7 @@ jobs: ...@@ -53,9 +53,7 @@ jobs:
- uses: actions/cache@v2 - uses: actions/cache@v2
id: cache-build id: cache-build
with: with:
path: | path: ./*
./*
!./.git
key: ${{ github.sha }} key: ${{ github.sha }}
lint: lint:
...@@ -65,9 +63,7 @@ jobs: ...@@ -65,9 +63,7 @@ jobs:
- uses: actions/cache@v2 - uses: actions/cache@v2
id: restore-build id: restore-build
with: with:
path: | path: ./*
./*
!./.git
key: ${{ github.sha }} key: ${{ github.sha }}
- run: ./scripts/check-manifests.js - run: ./scripts/check-manifests.js
- run: yarn lint - run: yarn lint
...@@ -129,9 +125,7 @@ jobs: ...@@ -129,9 +125,7 @@ jobs:
if: ${{needs.build.outputs.docsChange != 'docs only change'}} if: ${{needs.build.outputs.docsChange != 'docs only change'}}
id: restore-build id: restore-build
with: with:
path: | path: ./*
./*
!./.git
key: ${{ github.sha }} key: ${{ github.sha }}
- run: node run-tests.js --type unit - run: node run-tests.js --type unit
...@@ -155,9 +149,7 @@ jobs: ...@@ -155,9 +149,7 @@ jobs:
if: ${{needs.build.outputs.docsChange != 'docs only change'}} if: ${{needs.build.outputs.docsChange != 'docs only change'}}
id: restore-build id: restore-build
with: with:
path: | path: ./*
./*
!./.git
key: ${{ github.sha }} key: ${{ github.sha }}
- run: npm i -g playwright-chromium@1.14.1 && npx playwright install-deps - run: npm i -g playwright-chromium@1.14.1 && npx playwright install-deps
...@@ -193,9 +185,7 @@ jobs: ...@@ -193,9 +185,7 @@ jobs:
if: ${{needs.build.outputs.docsChange != 'docs only change'}} if: ${{needs.build.outputs.docsChange != 'docs only change'}}
id: restore-build id: restore-build
with: with:
path: | path: ./*
./*
!./.git
key: ${{ github.sha }} key: ${{ github.sha }}
- run: npm i -g playwright-chromium@1.14.1 && npx playwright install-deps - run: npm i -g playwright-chromium@1.14.1 && npx playwright install-deps
...@@ -235,9 +225,7 @@ jobs: ...@@ -235,9 +225,7 @@ jobs:
if: ${{needs.build.outputs.docsChange != 'docs only change'}} if: ${{needs.build.outputs.docsChange != 'docs only change'}}
id: restore-build id: restore-build
with: with:
path: | path: ./*
./*
!./.git
key: ${{ github.sha }} key: ${{ github.sha }}
- run: npm i -g playwright-chromium@1.14.1 && npx playwright install-deps - run: npm i -g playwright-chromium@1.14.1 && npx playwright install-deps
...@@ -263,9 +251,7 @@ jobs: ...@@ -263,9 +251,7 @@ jobs:
if: ${{needs.build.outputs.docsChange != 'docs only change'}} if: ${{needs.build.outputs.docsChange != 'docs only change'}}
id: restore-build id: restore-build
with: with:
path: | path: ./*
./*
!./.git
key: ${{ github.sha }} key: ${{ github.sha }}
# TODO: remove after we fix watchpack watching too much # TODO: remove after we fix watchpack watching too much
...@@ -289,9 +275,7 @@ jobs: ...@@ -289,9 +275,7 @@ jobs:
if: ${{needs.build.outputs.docsChange != 'docs only change'}} if: ${{needs.build.outputs.docsChange != 'docs only change'}}
id: restore-build id: restore-build
with: with:
path: | path: ./*
./*
!./.git
key: ${{ github.sha }} key: ${{ github.sha }}
- run: bash ./scripts/test-pnp.sh - run: bash ./scripts/test-pnp.sh
...@@ -333,9 +317,7 @@ jobs: ...@@ -333,9 +317,7 @@ jobs:
if: ${{needs.build.outputs.docsChange != 'docs only change'}} if: ${{needs.build.outputs.docsChange != 'docs only change'}}
id: restore-build id: restore-build
with: with:
path: | path: ./*
./*
!./.git
key: ${{ github.sha }} key: ${{ github.sha }}
- run: npm i -g playwright-chromium@1.14.1 && npx playwright install-deps - run: npm i -g playwright-chromium@1.14.1 && npx playwright install-deps
...@@ -356,9 +338,7 @@ jobs: ...@@ -356,9 +338,7 @@ jobs:
if: ${{needs.build.outputs.docsChange != 'docs only change'}} if: ${{needs.build.outputs.docsChange != 'docs only change'}}
id: restore-build id: restore-build
with: with:
path: | path: ./*
./*
!./.git
key: ${{ github.sha }} key: ${{ github.sha }}
- run: npx playwright install-deps && npx playwright install firefox - run: npx playwright install-deps && npx playwright install firefox
if: ${{needs.build.outputs.docsChange != 'docs only change'}} if: ${{needs.build.outputs.docsChange != 'docs only change'}}
...@@ -385,9 +365,7 @@ jobs: ...@@ -385,9 +365,7 @@ jobs:
if: ${{needs.build.outputs.docsChange != 'docs only change'}} if: ${{needs.build.outputs.docsChange != 'docs only change'}}
id: restore-build id: restore-build
with: with:
path: | path: ./*
./*
!./.git
key: ${{ github.sha }} key: ${{ github.sha }}
# TODO: use macos runner so that we can use playwright to test against # TODO: use macos runner so that we can use playwright to test against
...@@ -419,9 +397,7 @@ jobs: ...@@ -419,9 +397,7 @@ jobs:
if: ${{needs.build.outputs.docsChange != 'docs only change'}} if: ${{needs.build.outputs.docsChange != 'docs only change'}}
id: restore-build id: restore-build
with: with:
path: | path: ./*
./*
!./.git
key: ${{ github.sha }} key: ${{ github.sha }}
- run: '[[ -z "$BROWSERSTACK_ACCESS_KEY" ]] && echo "Skipping for PR" || npm i -g browserstack-local@1.4.0' - run: '[[ -z "$BROWSERSTACK_ACCESS_KEY" ]] && echo "Skipping for PR" || npm i -g browserstack-local@1.4.0'
...@@ -445,9 +421,7 @@ jobs: ...@@ -445,9 +421,7 @@ jobs:
- uses: actions/cache@v2 - uses: actions/cache@v2
id: restore-build id: restore-build
with: with:
path: | path: ./*
./*
!./.git
key: ${{ github.sha }} key: ${{ github.sha }}
- uses: actions/download-artifact@v2 - uses: actions/download-artifact@v2
with: with:
...@@ -465,9 +439,7 @@ jobs: ...@@ -465,9 +439,7 @@ jobs:
- uses: actions/cache@v2 - uses: actions/cache@v2
id: restore-build id: restore-build
with: with:
path: | path: ./*
./*
!./.git
key: ${{ github.sha }} key: ${{ github.sha }}
- run: ./scripts/release-stats.sh - run: ./scripts/release-stats.sh
- uses: ./.github/actions/next-stats-action - uses: ./.github/actions/next-stats-action
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment