Skip to content

Commit

Permalink
chore: trying beta release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
magne4000 committed Nov 19, 2024
1 parent 08aa04b commit 2f86fd7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,5 @@ jobs:
- name: Run tests
if: ${{ matrix.os != 'windows-latest' }}
run: pnpm run test
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
4 changes: 3 additions & 1 deletion tests-examples/tests-tool/.test-vercel-edge.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { testRun } from "./.testRun";

testRun("pnpm run dev:vercel", 23009, {
const token = process.env.VERCEL_TOKEN ? ` --token=${process.env.VERCEL_TOKEN}` : "";

testRun(`pnpm run dev:vercel${token}`, 23009, {
serverIsReadyMessage: "Local:",
portCommand: "--listen",
prefix: "/api/web",
Expand Down
4 changes: 3 additions & 1 deletion tests-examples/tests-tool/.test-vercel-node.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { testRun } from "./.testRun";

testRun("pnpm run dev:vercel", 23008, {
const token = process.env.VERCEL_TOKEN ? ` --token=${process.env.VERCEL_TOKEN}` : "";

testRun(`pnpm run dev:vercel${token}`, 23008, {
serverIsReadyMessage: "Local:",
portCommand: "--listen",
prefix: "/api/node",
Expand Down

0 comments on commit 2f86fd7

Please sign in to comment.