Skip to content

chore(deps-dev): update linters (major) #1711

chore(deps-dev): update linters (major)

chore(deps-dev): update linters (major) #1711

Workflow file for this run

# Build and test when pull request is made to protected branches.
# This workflow will run integration tests against multiple versions of Node.
name: CI
on:
pull_request:
branches:
- master
- next
- beta
- alpha
- release/*
jobs:
lint:
strategy:
matrix:
node: ['16']
name: Lint on Node ${{ matrix.node }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
- run: yarn install
- name: Lint
run: yarn lint
test:
strategy:
matrix:
node: ['12', '14', '16']
name: Test on Node ${{ matrix.node }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
- run: yarn install
- name: Test
run: yarn test
build:
strategy:
matrix:
node: ['12', '14', '16']
name: Build on Node ${{ matrix.node }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
- run: yarn install
- name: Build
run: yarn build
- name: Check Files
uses: JJ/files-present-action@releases/v1
with:
files: 'package.json, LICENSE, README.md, lib, lib/index.js, lib/index.d.ts'