bittorrent-tracker/.github/workflows/ci.yml

24 lines
483 B
YAML
Raw Normal View History

2021-02-10 05:38:26 +00:00
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:
2021-04-12 23:14:42 +00:00
node-version: ${{ matrix.node }}
2021-02-10 05:38:26 +00:00
- run: npm install
- run: npm run build --if-present
- run: npm test