build(deps): bump node-forge from 1.3.1 to 1.3.3 #116
Workflow file for this run
This file contains hidden or 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
| name: pr-actions | |
| on: [pull_request] | |
| jobs: | |
| backend-jest-test: | |
| runs-on: ubuntu-latest | |
| container: node:16.15.0-alpine | |
| services: | |
| postgres: | |
| image: postgres:12.7 | |
| env: | |
| POSTGRES_USER: admin | |
| POSTGRES_DB: merrymaker | |
| POSTGRES_PASSWORD: password | |
| ports: | |
| - 5432:5432 | |
| options: >- | |
| --health-cmd pg_isready | |
| --health-interval 10s | |
| --health-timeout 5s | |
| --health-retries 5 | |
| redis: | |
| image: redis | |
| steps: | |
| - name: Check out repo code | |
| uses: actions/checkout@v2 | |
| - name: Install yara | |
| run: | | |
| echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories | |
| echo "http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories | |
| apk add --no-cache libcrypto3 yara-dev openssh bash git | |
| apk add --no-cache --virtual .gyp python3 make g++ | |
| env: | |
| LANG: C.UTF.8 | |
| - name: Install deps | |
| run: yarn install --frozen-lockfile | |
| - name: Audit deps | |
| run: /bin/bash -c 'yarn audit; [[ $? -ge 8 ]] & exit || exit 0' | |
| - name: Linting & testing | |
| run: | | |
| cd backend | |
| yarn install | |
| yarn lint:eslint | |
| yarn test | |
| cd ../frontend | |
| yarn lint | |
| cd ../scanner | |
| yarn install | |
| yarn lint:eslint | |
| yarn test | |
| env: | |
| NODE_ENV: test | |
| MMK_REDIS_HOST: redis | |
| DEPLOYMENT: gh |