Skip to content

Merge pull request #346 from FerX/hotifx/deprecate-method #362

Merge pull request #346 from FerX/hotifx/deprecate-method

Merge pull request #346 from FerX/hotifx/deprecate-method #362

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