chardet/.github/workflows/build.yml

27 lines
473 B
YAML
Raw Normal View History

2021-04-28 02:25:19 +00:00
name: Build
on:
push:
branches: [master]
pull_request:
branches: ["*"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
2021-10-19 09:31:38 +00:00
node-version: [10.x, 12.x, 14.x]
2021-04-28 02:25:19 +00:00
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
2021-06-09 00:19:49 +00:00
- run: npm i
2021-04-28 02:25:19 +00:00
- run: npm run lint
- run: npm test
- run: npm run build