Skip to content

Add the support/6.x branch to the CI config so it builds when pushed to. #514

Add the support/6.x branch to the CI config so it builds when pushed to.

Add the support/6.x branch to the CI config so it builds when pushed to. #514

Workflow file for this run

name: Turf.js CI
on:
push:
branches: [master, support/6.x]
pull_request:
branches: [master, support/6.x]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
- run: yarn --frozen-lockfile
- run: git diff --exit-code
- run: yarn test