Skip to content

fix: local ip and host testing #18

fix: local ip and host testing

fix: local ip and host testing #18

Workflow file for this run

name: Test
on:
- push
- pull_request
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 8
run_install: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
dry-run:
name: Dry Run
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install --production
- name: Test dry run
run: |
timeout 5s bun run start || if [ $? -eq 124 ]; then exit 0; else exit 1; fi