Skip to content

refactor: max size function #1248

refactor: max size function

refactor: max size function #1248

Workflow file for this run

name: Node CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '14.x'
- name: Lint
run: |
yarn install
yarn lint
- name: Test
env:
BAMBORA_API_KEY: ${{ secrets.BAMBORA_API_KEY }}
MAILGUN_ACCESS_TOKEN:
${{ secrets.MAILGUN_ACCESS_TOKEN }}
MAILGUN_DOMAIN: ${{ secrets.MAILGUN_DOMAIN }}
PRIVATE_BUCKET: ${{ secrets.PRIVATE_BUCKET }}
PUBLIC_BUCKET: ${{ secrets.PUBLIC_BUCKET }}
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
S3_SECRET: ${{ secrets.S3_SECRET }}
run: yarn test