Skip to content
Merged
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
6 changes: 1 addition & 5 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
push:
branches:
- main
pull_request:
branches:
- main
# Manual trigger
workflow_dispatch:
# Optional: run when using GitHub merge queue
Expand Down Expand Up @@ -87,8 +84,7 @@ jobs:
deploy:
name: Deploy to Pages
needs: build
# Do not deploy for pull_request events; only push/main, merge_group, dispatch
if: github.event_name != 'pull_request'
# Runs only on push to main, merge_group, or manual dispatch
runs-on: ubuntu-latest
environment:
name: github-pages
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/pollilib-tests.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: PolliLib Smoke Tests

on:
push:
branches:
- main
pull_request:
branches:
- main
Expand All @@ -29,5 +26,5 @@ jobs:
- name: Run smoke tests
env:
POLLI_REFERRER: unityailab.com
run: node tests/pollilib-smoke.mjs
run: npm test

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"name": "unity-chat",
"private": true,
"type": "module"
"type": "module",
"scripts": {
"test": "node tests/pollilib-smoke.mjs"
}
}

Loading