Skip to content

Merge pull request #131 from vladfreishmidt/vlad-freishmidt_bug_no-id… #78

Merge pull request #131 from vladfreishmidt/vlad-freishmidt_bug_no-id…

Merge pull request #131 from vladfreishmidt/vlad-freishmidt_bug_no-id… #78

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