Skip to content

fix: package.json & package-lock.json to reduce vulnerabilities #205

fix: package.json & package-lock.json to reduce vulnerabilities

fix: package.json & package-lock.json to reduce vulnerabilities #205

Workflow file for this run

name: CI
on: push
jobs:
linter:
name: Linter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: npm ci
- name: Run
run: npm run lint
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: docker-compose pull
# It takes more time to cache/restore data on small builds
# - uses: satackey/[email protected]
# continue-on-error: true
- run: docker-compose build
- run: NODE_ENV=ci docker-compose up --abort-on-container-exit --exit-code-from ci
- uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageLocations: ${{github.workspace}}/coverage/lcov.info:lcov
- run: docker-compose down -v