Skip to content

build(deps-dev): Bump @types/node in /encodely-ui #127

build(deps-dev): Bump @types/node in /encodely-ui

build(deps-dev): Bump @types/node in /encodely-ui #127

on:
push:
paths:
- 'encodely-ui/**'
pull_request:
paths:
- 'encodely-ui/**'
name: Continuous-integration-ui
jobs:
check:
name: Build and analyze
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST: ${{ secrets.SONAR_HOST }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Using Node 14
uses: actions/setup-node@v2
with:
node-version: 14
- name: Cache
uses: actions/cache@v2
with:
path: |
~/.sonar/cache
~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
- name: Analyze
working-directory: ./encodely-ui
run: |
npm install
npm run build
npm run sonar