bittorrent-tracker/.github/workflows/ci.yml
Diego Rodríguez Baquero dda99359eb
ci: upgrade node
2023-01-26 10:22:50 -05:00

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:
- '18'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npm run build --if-present
- run: npm test