Skip to content

testing in node

testing in node #32

Workflow file for this run

name: tests
run-name: testing in node
on: [push]
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build
run: |
npm install
npm run build --if-present
npm run lint
env:
CI: true
- name: Run tests
run: |
npm test