Skip to content

for array: distinct and filter methods, for string: all/any, common p… #10

for array: distinct and filter methods, for string: all/any, common p…

for array: distinct and filter methods, for string: all/any, common p… #10

Workflow file for this run

name: Build & Test
on:
push:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 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: 'npm'
- name: Npm CI
run: npm ci
- name: Build
run: npm run build --if-present
- name: Test
run: npm test