Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.1.1/schema.json",
"changelog": [
"@changesets/changelog-github",
{ "repo": "vercel/workflow" }
],
"changelog": ["@changesets/changelog-github", { "repo": "vercel/workflow" }],
"commit": false,
"fixed": [],
"linked": [],
Expand All @@ -22,6 +19,7 @@
"@workflow/example-nuxt",
"@workflow/example-vite",
"@workflow/example-sveltekit",
"@workflow/example-astro"
"@workflow/example-astro",
"@workflow/example-elysiajs-node"
]
}
3 changes: 2 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"@workflow/rollup": "4.0.0-beta.1",
"@workflow/astro": "4.0.0-beta.1",
"@workflow/example-fastify": "0.0.0",
"@workflow/vite": "4.0.0-beta.1"
"@workflow/vite": "4.0.0-beta.1",
"@workflow/example-elysiajs-node": "0.0.0"
},
"changesets": [
"add-documentation",
Expand Down
45 changes: 28 additions & 17 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
id: find-comment
with:
issue-number: ${{ github.event.pull_request.number }}
comment-author: 'github-actions[bot]'
body-includes: '<!-- e2e-test-results -->'
comment-author: "github-actions[bot]"
body-includes: "<!-- e2e-test-results -->"

- name: Get existing comment body
if: steps.find-comment.outputs.comment-id != ''
Expand Down Expand Up @@ -130,9 +130,9 @@ jobs:
- name: Setup environment
uses: ./.github/actions/setup-workflow-dev
with:
setup-rust: 'true'
install-args: '--ignore-scripts'
build-packages: 'false'
setup-rust: "true"
install-args: "--ignore-scripts"
build-packages: "false"

- name: Run Unit Tests
run: pnpm test --filter='!./docs'
Expand Down Expand Up @@ -212,6 +212,9 @@ jobs:
- name: "astro"
project-id: "prj_YDAXj3K8LM0hgejuIMhioz2yLgTI"
project-slug: "workbench-astro-workflow"
- name: "elysiajs-node"
project-id: "prj_6XgRspR2MY8zJXraq0LQrCPcAPCx"
project-slug: "workbench-elysiajs-node-workflow"
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
Expand All @@ -222,7 +225,7 @@ jobs:
- name: Setup environment
uses: ./.github/actions/setup-workflow-dev
with:
build-packages: 'false'
build-packages: "false"

- name: Build CLI
run: pnpm turbo run build --filter='@workflow/cli'
Expand Down Expand Up @@ -278,8 +281,8 @@ jobs:
- name: Setup environment
uses: ./.github/actions/setup-workflow-dev
with:
install-dependencies: 'false'
build-packages: 'false'
install-dependencies: "false"
build-packages: "false"

- id: set-matrix
run: echo "matrix=$(node ./scripts/create-test-matrix.mjs)" >> $GITHUB_OUTPUT
Expand All @@ -303,8 +306,8 @@ jobs:
- name: Setup environment
uses: ./.github/actions/setup-workflow-dev
with:
install-dependencies: 'false'
build-packages: 'false'
install-dependencies: "false"
build-packages: "false"

- name: Setup canary
if: ${{ matrix.app.canary }}
Expand Down Expand Up @@ -365,8 +368,8 @@ jobs:
- name: Setup environment
uses: ./.github/actions/setup-workflow-dev
with:
install-dependencies: 'false'
build-packages: 'false'
install-dependencies: "false"
build-packages: "false"

- name: Setup canary
if: ${{ matrix.app.canary }}
Expand Down Expand Up @@ -447,8 +450,8 @@ jobs:
- name: Setup environment
uses: ./.github/actions/setup-workflow-dev
with:
install-dependencies: 'false'
build-packages: 'false'
install-dependencies: "false"
build-packages: "false"

- name: Setup canary
if: ${{ matrix.app.canary }}
Expand Down Expand Up @@ -571,8 +574,8 @@ jobs:
- name: Setup environment
uses: ./.github/actions/setup-workflow-dev
with:
install-dependencies: 'false'
build-packages: 'false'
install-dependencies: "false"
build-packages: "false"

- id: set-matrix
run: echo "matrix=$(node ./scripts/create-community-worlds-matrix.mjs)" >> $GITHUB_OUTPUT
Expand All @@ -597,7 +600,15 @@ jobs:
summary:
name: E2E Summary
runs-on: ubuntu-latest
needs: [e2e-vercel-prod, e2e-local-dev, e2e-local-prod, e2e-local-postgres, e2e-windows, e2e-community]
needs:
[
e2e-vercel-prod,
e2e-local-dev,
e2e-local-prod,
e2e-local-postgres,
e2e-windows,
e2e-community,
]
if: always() && !cancelled()
timeout-minutes: 10

Expand Down
1 change: 1 addition & 0 deletions packages/core/e2e/local-build.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ describe.each([
'express',
'fastify',
'astro',
'elysiajs-node',
])('e2e', (project) => {
test('builds without errors', { timeout: 180_000 }, async () => {
// skip if we're targeting specific app to test
Expand Down
Loading