Tdarr_Plugins/.github/workflows/lint_and_test.yml
2022-05-23 07:40:24 +01:00

29 lines
560 B
YAML

name: Node.js CI
on:
pull_request:
branches: ['**']
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
os:
[
["ubuntu-20.04"],
["windows-2019"],
["macos-11.0"],
]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: npm run checkPlugins && npm run lint && npm run test