Skip to content

chore(deps-dev): bump elliptic from 6.5.4 to 6.5.7 #501

chore(deps-dev): bump elliptic from 6.5.4 to 6.5.7

chore(deps-dev): bump elliptic from 6.5.4 to 6.5.7 #501

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: "14.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: "14.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: "18.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 --legacy-peer-deps
- 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