chardet/.github/workflows/build.yml

26 lines
455 B
YAML
Raw Permalink 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:
2022-09-30 02:19:15 +00:00
node-version: [12.x, 14.x, 16.x, 18.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 test
- run: npm run build