Skip to content

test: drop support for node 14 #214

test: drop support for node 14

test: drop support for node 14 #214

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [16.x, 18.x, 20.x]
prettier: [3.0]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Install yarn
run: npm i -g yarn
- name: Install project dependencies
run: yarn install
- name: Install specific yarn version
run: yarn add prettier@${{ matrix.prettier }} && yarn list --depth=0 --pattern "prettier"
- name: Run tests
run: yarn test