File tree Expand file tree Collapse file tree
integrations/vercel/test/hosted/hosted-astro-project/src Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -6,10 +6,6 @@ RUN npm install -g @playwright/test
66# Install latest pnpm
77RUN npm install -g pnpm
88
9- # Install deno
10- ENV DENO_INSTALL=/usr/local
11- RUN curl -fsSL https://deno.land/x/install/install.sh | sh
12-
139RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
1410 && curl -sSL https://dl.google.com/linux/direct/google-chrome-stable_current_$(dpkg --print-architecture).deb -o /tmp/chrome.deb \
1511 && apt-get -y install /tmp/chrome.deb
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -133,11 +133,6 @@ jobs:
133133 node-version : ${{ matrix.NODE_VERSION }}
134134 cache : " pnpm"
135135
136- - name : Use Deno
137- uses : denoland/setup-deno@v1
138- with :
139- deno-version : v1.35.0
140-
141136 - name : Install dependencies
142137 run : pnpm install
143138
Original file line number Diff line number Diff line change 1111 VERCEL_ORG_ID : ${{ secrets.VERCEL_TEST_ORG_ID }}
1212 VERCEL_PROJECT_ID : ${{ secrets.VERCEL_TEST_PROJECT_ID }}
1313 VERCEL_TOKEN : ${{ secrets.VERCEL_TEST_TOKEN }}
14- NETLIFY_SITE_ID : ${{ secrets.NETLIFY_TEST_SITE_ID }}
15- NETLIFY_AUTH_TOKEN : ${{ secrets.NETLIFY_TEST_AUTH_TOKEN }}
1614 FORCE_COLOR : true
1715
1816jobs :
@@ -34,22 +32,20 @@ jobs:
3432
3533 - name : Install dependencies
3634 run : pnpm install
35+
36+ - name : Build Astro
37+ run : pnpm turbo build --filter astro --filter @astrojs/vercel
3738
38- - name : Install Hosts CLIs
39- run : pnpm install --global netlify-cli vercel
40-
41- - name : Deploy Vercel
39+ - name : Build test project
4240 working-directory : ./packages/integrations/vercel/test/hosted/hosted-astro-project
4341 run :
4442 pnpm run build
45- vercel --prod --prebuilt
46-
47- - name : Deploy Netlify
48- working-directory : ./packages/integrations/netlify/test/hosted/hosted-astro-project
43+
44+ - name : Deploy to Vercel
45+ working-directory : ./packages/integrations/vercel/test/hosted/hosted-astro-project
4946 run :
50- pnpm run build
51- netlify deploy --prod
47+ pnpm dlx vercel --prod --prebuilt
5248
53- - name : Test both hosts
49+ - name : Test
5450 run :
5551 pnpm run test:e2e:hosts
Original file line number Diff line number Diff line change 11---
2- image :
3- file : .Dockerfile
42# Commands to start on workspace startup
53tasks :
64 - before : |
Original file line number Diff line number Diff line change 33# Convert context URL to an array
44mapfile -t CONTEXT_URL_ITEMS < <( echo " $GITPOD_WORKSPACE_CONTEXT_URL " | tr ' /' ' \n' )
55
6+ # Install latest pnpm
7+ curl -fsSL https://get.pnpm.io/install.sh | SHELL=` which bash` bash -
8+
69# Check if Gitpod started from a specific example directory in the repository
710if [ " ${CONTEXT_URL_ITEMS[7]} " = " examples" ]; then
811 EXAMPLE_PROJECT=${CONTEXT_URL_ITEMS[8]}
Original file line number Diff line number Diff line change @@ -52,8 +52,6 @@ Join us on [Discord](https://astro.build/chat) to meet other maintainers. We'll
5252| [ @astrojs/svelte ] ( packages/integrations/svelte ) | [ ![ astro version] ( https://img.shields.io/npm/v/@astrojs/svelte.svg?label=%20 )] ( packages/integrations/svelte/CHANGELOG.md ) |
5353| [ @astrojs/vue ] ( packages/integrations/vue ) | [ ![ astro version] ( https://img.shields.io/npm/v/@astrojs/vue.svg?label=%20 )] ( packages/integrations/vue/CHANGELOG.md ) |
5454| [ @astrojs/lit ] ( packages/integrations/lit ) | [ ![ astro version] ( https://img.shields.io/npm/v/@astrojs/lit.svg?label=%20 )] ( packages/integrations/lit/CHANGELOG.md ) |
55- | [ @astrojs/deno ] ( packages/integrations/deno ) | [ ![ astro version] ( https://img.shields.io/npm/v/@astrojs/deno.svg?label=%20 )] ( packages/integrations/deno/CHANGELOG.md ) |
56- | [ @astrojs/netlify ] ( packages/integrations/netlify ) | [ ![ astro version] ( https://img.shields.io/npm/v/@astrojs/netlify.svg?label=%20 )] ( packages/integrations/netlify/CHANGELOG.md ) |
5755| [ @astrojs/node ] ( packages/integrations/node ) | [ ![ astro version] ( https://img.shields.io/npm/v/@astrojs/node.svg?label=%20 )] ( packages/integrations/node/CHANGELOG.md ) |
5856| [ @astrojs/vercel ] ( packages/integrations/vercel ) | [ ![ astro version] ( https://img.shields.io/npm/v/@astrojs/vercel.svg?label=%20 )] ( packages/integrations/vercel/CHANGELOG.md ) |
5957| [ @astrojs/cloudflare ] ( packages/integrations/cloudflare ) | [ ![ astro version] ( https://img.shields.io/npm/v/@astrojs/cloudflare.svg?label=%20 )] ( packages/integrations/cloudflare/CHANGELOG.md ) |
Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ export default function createIntegration(): AstroIntegration {
1010 // See the @astrojs /react integration for an example
1111 // https://github.com/withastro/astro/blob/main/packages/integrations/react/src/index.ts
1212 } ,
13- 'astro:build:setup' : ( { config , updateConfig } ) => {
14- // See the @astrojs /netlify integration for an example
15- // https://github.com/withastro/astro/blob/main/packages/integrations/netlify /src/integration-functions .ts
13+ 'astro:build:setup' : ( { pages , updateConfig } ) => {
14+ // See the @astrojs /lit integration for an example
15+ // https://github.com/withastro/astro/blob/main/packages/integrations/lit /src/index .ts
1616 } ,
1717 'astro:build:done' : ( { dir, routes } ) => {
1818 // See the @astrojs /partytown integration for an example
You can’t perform that action at this time.
0 commit comments