testing github workflows

This commit is contained in:
John Yeo
2025-07-22 10:37:44 +01:00
parent 53684f5f48
commit ad0750898f

View File

@@ -22,26 +22,26 @@ env:
jobs:
test:
runs-on: blacksmith-4vcpu-ubuntu-2404
# runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.2.2
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Set up bun
- uses: oven-sh/setup-bun@v2
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'pnpm'
cache: 'bun'
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
# run: bun install --no-frozen-lockfile
run: bun install
- name: Setup CI
run: pnpm run setupci
run: bun run setupci
# - name: Install Chrome Dependencies
# run: |
@@ -109,7 +109,7 @@ jobs:
- name: Build shared
run: |
cd shared
pnpm build
bun run build
- name: Startup server
run: sudo docker compose -f docker/docker-compose.ci.yml up --detach
@@ -126,16 +126,12 @@ jobs:
curl https://askjdnaslkjdalkjen.loca.lt
echo "Local Tunnel pinged!"
- name: Run G1 tests
run: |
cd server/
chmod +x ./shell/g1.sh
./shell/g1.sh
- name: Run G2 tests
run: |
cd server/
chmod +x ./shell/g2.sh
./shell/g2.sh
./shell/g2.sh setup
- name: Run G3 tests
run: |