Skip to content

chore(deps): bump express from 4.17.1 to 4.19.2 #174

chore(deps): bump express from 4.17.1 to 4.19.2

chore(deps): bump express from 4.17.1 to 4.19.2 #174

Workflow file for this run

name: CI
on: [push]
env:
CI: "true"
COVERALLS_REPO_TOKEN: "${{ secrets.COVERALLS_REPO_TOKEN }}"
COVERALLS_GIT_BRANCH: "${{ github.ref }}"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2-beta
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: "12.x"
- name: Restore node_modules
uses: actions/cache@v1
id: api-node-modules
with:
path: node_modules
key: ${{ runner.os }}-api-node-modules-${{ hashFiles('package-lock.json') }}
- name: Restore .npm cache
if: steps.api-node-modules.outputs.cache-hit != 'true'
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-api-npm-cache-${{ hashFiles('package-lock.json') }}
restore-keys: |
- ${{ runner.os }}-api-npm-cache-${{ hashFiles('package-lock.json') }}
- ${{ runner.os }}-api-npm-cache-
- name: Install dependencies
if: steps.api-node-modules.outputs.cache-hit != 'true'
run: npm install
# - run: npm run analyze:lint
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2-beta
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: "12.x"
- name: Restore node_modules
uses: actions/cache@v1
id: api-node-modules
with:
path: node_modules
key: ${{ runner.os }}-api-node-modules-${{ hashFiles('package-lock.json') }}
- name: Restore .npm cache
if: steps.api-node-modules.outputs.cache-hit != 'true'
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-api-npm-cache-${{ hashFiles('package-lock.json') }}
restore-keys: |
- ${{ runner.os }}-api-npm-cache-${{ hashFiles('package-lock.json') }}
- ${{ runner.os }}-api-npm-cache-
- name: Install dependencies
if: steps.api-node-modules.outputs.cache-hit != 'true'
run: npm install
# - run: npm run analyze:prettier
test-and-coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2-beta
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: "12.x"
- name: Restore node_modules
uses: actions/cache@v1
id: api-node-modules
with:
path: node_modules
key: ${{ runner.os }}-api-node-modules-${{ hashFiles('package-lock.json') }}
- name: Restore .npm cache
if: steps.api-node-modules.outputs.cache-hit != 'true'
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-api-npm-cache-${{ hashFiles('package-lock.json') }}
restore-keys: |
- ${{ runner.os }}-api-npm-cache-${{ hashFiles('package-lock.json') }}
- ${{ runner.os }}-api-npm-cache-
- name: Install dependencies
if: steps.api-node-modules.outputs.cache-hit != 'true'
run: npm install
- name: Generate Coverage
run: |
npx cypress install
npm run test
# - name: Coveralls
# uses: coverallsapp/github-action@master
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
# path-to-lcov: ./coverage/lcov.info