Skip to content

Add fallback for getPrPatch.ts #166

Add fallback for getPrPatch.ts

Add fallback for getPrPatch.ts #166

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
workflow_dispatch:
jobs:
ci:
name: Building, linting, testing on node ${{ matrix.node }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['14.x', '16.x', '18.x', '20.x']
os: [ubuntu-latest]
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Setup npm@6.12.0
run: npm i -g npm@6.12.0
- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1
- name: Lint
run: npm run lint
- name: Test
run: npm test -- --ci --coverage --maxWorkers=2
- name: Build
run: npm run build