[Smoke] Add docs and astro.build to smoke test (#3941)
* feat: add docs and astrobuild to checkout * fix: checkout external repos after main * wip: build each external repo separately? * Revert "wip: build each external repo separately?" This reverts commit 042a3b2a8b33cfcff1622c2002bdfa43a5532ea8. * fix: move checkout to smoke/ * chore: add react to peer dep ignores for CI
This commit is contained in:
parent
f6d61e6e72
commit
aa06fd9f9a
2 changed files with 18 additions and 13 deletions
24
.github/workflows/ci.yml
vendored
24
.github/workflows/ci.yml
vendored
|
@ -183,16 +183,6 @@ jobs:
|
|||
os: [ubuntu-latest]
|
||||
node_version: [14]
|
||||
steps:
|
||||
- name: Checkout docs
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: withastro/docs
|
||||
|
||||
- name: Checkout astro.build
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: withastro/astro.build
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
|
@ -205,8 +195,20 @@ jobs:
|
|||
node-version: ${{ matrix.node_version }}
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Checkout docs
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: withastro/docs
|
||||
path: smoke/docs
|
||||
|
||||
- name: Checkout astro.build
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: withastro/astro.build
|
||||
path: smoke/astro-build
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install
|
||||
run: pnpm install --no-frozen-lockfile
|
||||
|
||||
- name: Build Packages
|
||||
run: pnpm run build
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
"test": "turbo run test --output-logs=new-only --concurrency=1",
|
||||
"test:match": "cd packages/astro && pnpm run test:match",
|
||||
"test:templates": "turbo run test --filter=create-astro --concurrency=1",
|
||||
"test:smoke": "turbo run build --filter=\"@example/*\" --output-logs=new-only",
|
||||
"test:smoke": "turbo run build --filter=\"@example/*\" --filter=\"astro.build\" --filter=\"docs\" --output-logs=new-only",
|
||||
"test:vite-ci": "turbo run test --output-logs=new-only --no-deps --scope=astro --concurrency=1",
|
||||
"test:e2e": "cd packages/astro && pnpm playwright install && pnpm run test:e2e",
|
||||
"test:e2e:match": "cd packages/astro && pnpm playwright install && pnpm run test:e2e:match",
|
||||
|
@ -61,7 +61,10 @@
|
|||
"rollup",
|
||||
"@babel/core",
|
||||
"@babel/plugin-transform-react-jsx",
|
||||
"vite"
|
||||
"vite",
|
||||
"react",
|
||||
"react-dom",
|
||||
"@types/react"
|
||||
]
|
||||
},
|
||||
"patchedDependencies": {
|
||||
|
|
Loading…
Reference in a new issue