Skip to content

chore: update polling example #2431

chore: update polling example

chore: update polling example #2431

Workflow file for this run

name: CI
on:
- push
jobs:
run:
name: Test on node ${{ matrix.node }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node:
- 18.x
- 20.x
- 22.x
os:
- ubuntu-latest
- windows-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
run: npm ci
env:
CI: true
- name: Lint
run: npm run lint
- name: Test
run: npm test
env:
CI: true