Files
language-data/.github/workflows/node.yml
Santhosh Thottingal 3762fb7b94 Update CI and dependencies for latest node versions (#173)
* Update dependencies

* Test in latest node versions
2021-09-07 21:24:56 +05:30

28 lines
557 B
YAML

name: Node.js build
on:
[pull_request, push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-v: [10.x, 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