Files
curlconverter/.github/workflows/ci.yml
Boris Verkhovskiy 31ca0dfb08 add more type definitions (#374)
* rename github actions file

* type request

* type generators
2022-04-04 05:54:30 -07:00

31 lines
672 B
YAML

name: Node.js CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# Tests fail to run on Windows, see
# https://github.com/curlconverter/curlconverter/pull/310
os: [ubuntu-latest]
node-version: [12, 14, 16]
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run lint
- run: npx prettier --check .
- run: npm test