Files
language-data/.github/workflows/node.yml
Abijeet Patro b25ce367fb Update npm modules and drop support for Node.js 10 (#196)
Following packages have been updated:

* eslint
* eslint-config-wikimedia
* mocha
2022-01-18 19:56:41 +05:30

28 lines
551 B
YAML

name: Node.js build
on:
[pull_request, push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-v: [12.x, 14.x, 16.x]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-v }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-v }}
- name: Install package.json dependencies
run: npm install
- name: Run Node.js test suite
run: npm test
- name: Run linting
run: npm run lint