Skip to content

fix: package.json to reduce vulnerabilities #10

fix: package.json to reduce vulnerabilities

fix: package.json to reduce vulnerabilities #10

Workflow file for this run

name: Run Test
on: [push, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-agenda-${{ hashFiles('**/package-lock.lock') }}
restore-keys: |
${{ runner.os }}-build-agenda-
- name: Update npm
run: npm -g install npm@latest
- name: Install Packages
run: npm install
- name: Docs
run: npm run docs