Update pr checks.

master
hasan genc 3 years ago
parent fd8358ce43
commit 3ce6d6e2b2
  1. 31
      .github/workflows/prchecks.yml

@ -1,10 +1,11 @@
name: Run tests
name: PR Checks
on:
push:
pull_request:
branches:
- master
pull_request:
jobs:
test:
runs-on: ubuntu-latest
@ -27,5 +28,31 @@ jobs:
name: react-carousel-codecov
fail_ci_if_error: true
verbose: true
lint:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/setup-node@v2
with:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
- name: Install
run: npm install
- name: Lint
run: npm run lint
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/setup-node@v2
with:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
- name: Install
run: npm install
- name: Build
run: npm run build
Loading…
Cancel
Save