Skip to content

Update URL to point at prod relay #83

Update URL to point at prod relay

Update URL to point at prod relay #83

Workflow file for this run

name: check-pr
on:
pull_request:
jobs:
build-wle-project:
runs-on: ubuntu-latest
container:
image: wonderlandengine/editor:latest
steps:
- name: Checkout
uses: actions/checkout@v2
- run: |
npm install -g yarn
cd wonderland
yarn && yarn build
cp dist/zesty-wonderland-sdk.js ../tests/wonderland/js/
- name: Build WLE Project
run: /usr/local/bin/entrypoint.sh WonderlandEditor --windowless --package --project tests/wonderland/wonderland-test.wlp --output tests/wonderland/deploy/ --credentials $WLE_CREDENTIALS
env:
WLE_CREDENTIALS: ${{ secrets.WLE_CREDENTIALS }}
- name: Upload WLE build artifacts
uses: actions/upload-artifact@v3
with:
name: wle-build-artifacts
path: tests/wonderland/deploy/
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- run: |
chmod +x scripts/build.sh
chmod +x scripts/deploy.sh
scripts/build.sh
- name: Download WLE build artifacts
uses: actions/download-artifact@v3
with:
name: wle-build-artifacts
path: tests/wonderland/deploy/
- name: Install dependencies
run: |
npx playwright install-deps
npx playwright install
- name: Run tests
run: yarn run test
needs: build-wle-project