Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

feat: upgrade dependencies to latest versions and patch vulnerablitie… #933

feat: upgrade dependencies to latest versions and patch vulnerablitie…

feat: upgrade dependencies to latest versions and patch vulnerablitie… #933

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: install dependencies
run: npm ci
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: lint check
run: npm run lint
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: install dependencies
run: npm ci
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: run build
run: npm run build
test:
permissions:
contents: read
packages: read
runs-on: ubuntu-latest
services:
mongo:
image: mongo
ports:
- 27017:27017
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: install dependencies
run: npm ci
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: run unit tests
run: npm run test
- name: run e2e tests
run: npm run test:e2e