diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e6d59eb0f..3b125789d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/package.json b/package.json index 6686812a3..0595ac436 100644 --- a/package.json +++ b/package.json @@ -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": {