Skip to content

Feat/integrate blogs #39

Feat/integrate blogs

Feat/integrate blogs #39

Workflow file for this run

name: react-ci
on:
push:
branches:
- main
- master
- dev
pull_request:
branches:
- main
- master
- dev
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [14]
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup node env
uses: actions/[email protected]
with:
node-version: ${{ matrix.node }}
- name: Cache node_modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm i
- name: Run code style check
run: npm run lint
- name: Run tests
run: npm run test