fix(deps): update dependency underscore to v1.13.7 #630
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 is a basic workflow to help you get started with Actions | |
name: CI | |
# Controls when the action will run. Triggers the workflow on push or pull request | |
# events but only for the master branch | |
on: | |
push: | |
branches: | |
- master | |
- prod | |
- dev | |
pull_request: | |
branches: | |
- master | |
- prod | |
env: | |
REDEEMER_SIGNATOR_PUBLIC_KEY: bbe028009e744422bfc39b0e226633324d8c5fe0744c87c1018b88a488bc5899 | |
REDEEMER_WALLET_CARD_ID: f042845f-fa62-4022-8117-a476ec583a7b | |
GRANT_SIGNATOR_PUBLIC_KEY: bbe028009e744422bfc39b0e226633324d8c5fe0744c87c1018b88a488bc5899 | |
GRANT_WALLET_CARD_ID: f042845f-fa62-4022-8117-a476ec583a7b | |
BAT_RATIOS_URL: https://ratios.rewards.bravesoftware.com | |
TOKEN_LIST: 697ee69b-13b4-4a37-9cb6-923e7deaab9d | |
BAT_RATIOS_TOKEN: ${{ secrets.BAT_RATIOS_TOKEN }} | |
GRANT_WALLET_PRIVATE_KEY: ${{ secrets.GRANT_WALLET_PRIVATE_KEY }} | |
GRANT_WALLET_PUBLIC_KEY: ${{ secrets.GRANT_WALLET_PUBLIC_KEY }} | |
REDEEMER_WALLET_PRIVATE_KEY: ${{ secrets.REDEEMER_WALLET_PRIVATE_KEY }} | |
REDEEMER_WALLET_PUBLIC_KEY: ${{ secrets.REDEEMER_WALLET_PUBLIC_KEY }} | |
DEBUG: "*,-babel*,-eslint*,mongo,ava,-kafka*,-postgres*" | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
ci: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1 | |
with: | |
# Set always-auth in npmrc | |
always-auth: true | |
# Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0 | |
node-version: 20.7.0 | |
# Set this option if you want the action to check for the latest available version that satisfies the version spec | |
check-latest: true | |
- run: npm i --global [email protected] | |
- run: npm --version | |
- name: Docker Compose Install | |
uses: KengoTODA/actions-setup-docker-compose@818311a3c413a3a072378e424c020fafcbab9a49 # v1.1.0 | |
with: | |
version: '1.25.4' | |
- name: Cache node modules | |
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 | |
with: | |
path: ~/.npm | |
key: v1-npm-deps-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: v1-npm-deps- | |
- run: docker-compose pull | |
- uses: satackey/action-docker-layer-caching@46d2c640b1d8ef50d185452ad6fb324e6bd1d052 # v0.0.11 | |
# Ignore the failure of a step and avoid terminating the job. | |
continue-on-error: true | |
with: | |
key: docker-cache-{hash} | |
restore-keys: | | |
docker-cache- | |
- name: Build Docker Containers | |
run: npm run docker-build | |
# Runs the security checks within the docker container | |
- name: Run security checks (audit + lint) | |
run: docker-compose run eyeshade-web npm run security | |
# Runs a set of commands using the runners shell | |
- name: Stand up Postgres | |
run: | | |
docker-compose up -d eyeshade-postgres | |
sleep 3 | |
- name: Migrate DBs | |
run: npm run docker-migrate-up | |
- name: Bring Up App Containers | |
run: npm run docker-up-detached | |
- name: Print Checks | |
run: | | |
sleep 20 | |
docker ps | |
- name: Test | |
run: npm run docker-test | |
- name: Check Migrating Down | |
run: npm run docker-migrate-down-all | |
# - name: Coverage | |
# run: npm run coverage | |
# - name: Submit Code Coverage | |
# run: npx codecov --file=./coverage/lcov.info |