Skip to content

feat: Dropzone support for file upload field #48

feat: Dropzone support for file upload field

feat: Dropzone support for file upload field #48

Workflow file for this run

name: Pull Request
on:
pull_request:
branches:
- master
types: [opened, edited, synchronize]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Setup Node.js and Cache
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Validate Pull Request Title
env:
PR_TITLE: ${{ github.event.pull_request.title }}
run: |
echo "$PR_TITLE" | npx commitlint
build:
runs-on: ubuntu-latest
needs: validate
strategy:
matrix:
build-type: [umd, node]
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Setup Node.js and Cache
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Build
run: yarn build:${{ matrix.build-type }}
lint:
runs-on: ubuntu-latest
needs: validate
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Setup Node.js and Cache
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Lint
run: yarn lint
test:
runs-on: ubuntu-latest
needs: validate
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Setup Node.js and Cache
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Test
run: yarn test:ci