Skip to content

Merge pull request #5 from ADORSYS-GIS/francis-pouatcha-patch-2 #10

Merge pull request #5 from ADORSYS-GIS/francis-pouatcha-patch-2

Merge pull request #5 from ADORSYS-GIS/francis-pouatcha-patch-2 #10

Workflow file for this run

name: analyses
on:
push:
branches: [main, master, develop]
pull_request:
branches: [main, master, develop]
jobs:
install:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: npm ci
- name: Cache node modules
uses: actions/cache@v2
with:
path: node_modules
key: ${{ github.sha }}
lint:
needs: install
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cached node modules
uses: actions/cache@v2
with:
path: node_modules
key: ${{ github.sha }}
- name: Eslint
run: npm run lint:check
prettier:
needs: install
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cached node modules
uses: actions/cache@v2
with:
path: node_modules
key: ${{ github.sha }}
- name: Prettier
run: npm run prettier:check
typescript:
needs: install
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cached node modules
uses: actions/cache@v2
with:
path: node_modules
key: ${{ github.sha }}
- name: Typescript
run: npm run ts:check
unit_tests:
needs: install
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cached node modules
uses: actions/cache@v2
with:
path: node_modules
key: ${{ github.sha }}
- name: Unit tests
run: npm run test:unit