Skip to content

Use fetch instead of axios #50

Use fetch instead of axios

Use fetch instead of axios #50

Workflow file for this run

name: Nano Automated Testing
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
services:
couchdb:
image: couchdb
ports:
- 5984:5984
env:
COUCHDB_USER: admin
COUCHDB_PASSWORD: admin
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: TRAVIS=1 npm test