Run on all

This commit is contained in:
HaveAGitGat 2022-05-23 07:40:24 +01:00
parent b1815667d6
commit af8c30429c
3 changed files with 9 additions and 3 deletions

29
.github/workflows/lint_and_test.yml vendored Normal file
View file

@ -0,0 +1,29 @@
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