Skip to content

Merge pull request #126 from Charlie789/dev #71

Merge pull request #126 from Charlie789/dev

Merge pull request #126 from Charlie789/dev #71

Workflow file for this run

name: React-Drag-Drop-Files CI
on:
push:
branches: [dev, main]
pull_request:
branches: [dev]
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Semantic Pull Request
if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target'
uses: amannn/action-semantic-pull-request@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
linting:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: yarn run install-all
- name: Check linting
run: yarn run lint:check
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: yarn run install-all
- name: Build
run: npm run build