chardet/.github/workflows/build.yml

27 lines
492 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-12-17 07:51:06 +00:00
node-version: [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@v3
2021-04-28 02:25:19 +00:00
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