Skip to content

[Snyk] Security upgrade nano from 9.0.0 to 10.1.4 #14

[Snyk] Security upgrade nano from 9.0.0 to 10.1.4

[Snyk] Security upgrade nano from 9.0.0 to 10.1.4 #14

name: Node.js CI
env:
COVERALLS_SERVICE_NAME: tkshnwesper/couchdb-expression
COVERALLS_GIT_BRANCH: master
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
services:
couchdb:
image: couchdb:2
ports:
- 5984:5984
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 }}
- run: curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- run: chmod +x ./cc-test-reporter
- run: ./cc-test-reporter before-build
- run: npm ci
- run: npm run build --if-present
- run: npm test
- run: npm run coverage
- run: ./cc-test-reporter after-build