build(deps): Bump tslib from 2.1.0 to 2.6.2 in /encodely-ui #125
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |