build(deps): bump axios and start-server-and-test #281
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: Build | Lint | Test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [14.x] | |
mongodb-version: [4.2] | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v1 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Start MongoDB v${{ matrix.mongodb-version }} | |
uses: supercharge/mongodb-github-action@1.2.0 | |
with: | |
mongodb-version: ${{ matrix.mongodb-version }} | |
- name: Install Dependencies and Check Vulnerability in Dependencies | |
run: npm ci | |
- name: Lint Code Check | |
run: npm run code:lint | |
#- name: Starting Server and Runing Tests | |
# run: npm run ci |