Files
language-data/.github/workflows/node.yml
Abijeet Patro 3ef31ed26a Bump minimum Node.js version to 10.x (#122)
In a subsequent patch #120, we bump eslint-config-wikimedia to
0.17.0, which also requires bumping eslint to 7.9.0 which drops
support for Node.js 8.x

Bug: T266462
2020-10-27 17:03:00 +05:30

28 lines
545 B
YAML

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