chardet/.github/workflows/build.yml

27 lines
498 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:
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@v3
2021-04-28 02:25:19 +00:00
- 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
2022-09-30 07:04:00 +00:00
- run: .github/workflows/test-build.sh