Skip to content

CICD on v11

CICD on v11 #11

Workflow file for this run

name: CI
on:
pull_request:
branches:
- master
- v11
push:
branches:
- master
- v11
jobs:
build:
name: Build, lint, and test on Node ${{ matrix.node }}
runs-on: ubuntu-latest
strategy:
matrix:
node: ['20.x', '22.x']
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1
- name: Lint
run: yarn lint
- name: Test
run: yarn test
- name: Build
run: yarn build