chore: latest ubuntu version on github action #174
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: ci | |
| on: [push, pull_request] | |
| jobs: | |
| main: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup Node 🥣 | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: 22 | |
| - run: node -v | |
| - run: npm -v | |
| - name: Checkout 🛎 | |
| uses: actions/checkout@v2 | |
| - name: Install NPM dependencies 📦 | |
| run: npm ci | |
| - name: Build | |
| # run: npm run build | |
| # Public peer server is down for the moment -> we use a local signaling server | |
| run: npm run build:peer-server | |
| - name: Lint | |
| run: npm run lint | |
| - name: Unit tests | |
| run: npm run test | |
| - name: End2end tests | |
| # run: JEST_TIMEOUT=30000 npm run test:e2e:start-server-and-test | |
| # Public peer server is down for the moment -> we use a local signaling server | |
| run: JEST_TIMEOUT=30000 npm run test:e2e:start-server-and-test:peer-server |