mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2024-12-14 11:26:25 +00:00
24 lines
483 B
YAML
24 lines
483 B
YAML
name: ci
|
|
'on':
|
|
- push
|
|
- pull_request
|
|
jobs:
|
|
test:
|
|
name: Node ${{ matrix.node }} / ${{ matrix.os }}
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os:
|
|
- ubuntu-latest
|
|
node:
|
|
- '14'
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v2
|
|
with:
|
|
node-version: ${{ matrix.node }}
|
|
- run: npm install
|
|
- run: npm run build --if-present
|
|
- run: npm test
|