Bump version to 1.1.4 #58
Workflow file for this run
This file contains hidden or 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
name: Testing | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
testing: | |
name: Unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
cache-dependency-path: 'package-lock.json' | |
- name: Cache npm dependencies | |
uses: actions/cache@v4 | |
with: | |
path: '~/.npm' | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Show npm version | |
run: npm -v | |
- name: Install dependencies | |
run: npm ci | |
- name: Build project | |
run: npm run build | |
- name: Setup Chrome | |
uses: browser-actions/setup-chrome@v1 | |
- name: Test library | |
run: npm run ng test frank-config-layout -- --browsers=ChromeHeadless --watch=false | |
- name: Test playground | |
run: npm run ng test frank-config-layout-playground -- --browsers=ChromeHeadless --watch=false |