Skip to content

Commit

Permalink
add pull request github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
horstenwillem committed Nov 8, 2022
1 parent e3bdc90 commit f9627c5
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/pull-request.yaml
@@ -0,0 +1,28 @@
name: API Continuous Integration

on:
pull_request:
branches:
- *

jobs:
build:
name: Sanitize & Tests
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm install

- run: npm run lint
- run: npm run test

0 comments on commit f9627c5

Please sign in to comment.