use wampproto from github #142
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: XConn CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20.x | |
| - name: Install dependencies | |
| run: make setup | |
| - name: Run lint | |
| run: make check-lint | |
| - name: Build project | |
| run: make build | |
| - name: Setup AAT | |
| run: | | |
| git clone https://github.com/xconnio/xconn-aat-setup.git | |
| cd xconn-aat-setup | |
| make up | |
| sudo snap install wick --classic | |
| timeout 30 bash -c 'until wick --url ws://localhost:8081/ws publish test; do sleep 1; done' | |
| - name: Run tests | |
| run: make test |