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 1caedfffa6
All checks were successful
build (15.x)
build (16.x)
build (17.x)
build (18.x)
build (19.x)
remove 20.x
2023-03-29 19:05:44 +01:00

25 lines
501 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]
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