This repository has been archived on 2023-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
beatsaber-helpers/.gitea/workflows/tests.yaml
Fascinated 9d452ab80e
Some checks failed
build (15.x)
build (16.x)
build (17.x)
build (18.x)
build (19.x)
build (20.x)
add more test node vers
2023-03-29 19:03:04 +01:00

25 lines
507 B
YAML

name: Node.js Tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [15.x, 16.x, 17.x, 18.x, 19.x, 20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm test