Skip to content

replace deprecated method substr #360

replace deprecated method substr

replace deprecated method substr #360

Workflow file for this run

name: Node CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 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 }}
- uses: actions/cache@v3
with:
path: node_modules
key: ${{ matrix.node-version }}-node-${{ hashFiles('**/package-lock.json') }}
- name: npm install, build, and test
run: |
npm ci
npm test
npm run build
env:
CI: true