Skip to content

feat(demo): use standalone components #375

feat(demo): use standalone components

feat(demo): use standalone components #375

Workflow file for this run

name: Build & run all tests
on: [push]
jobs:
test:
environment: develop
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Use Node.js 20
uses: actions/setup-node@master
with:
node-version: 20
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies # Install all deps
run: yarn
- name: Sync versions # Sync versions
run: yarn syncprojects
- name: Build ngx-scrolltop # Build
run: yarn build --configuration production
- name: Build Schematics # Build Schematics and move
run: yarn build:schematics
- name: Build demo # Build demo page
run: yarn build:demo
- name: Run tests # Build Schematics and move
run: yarn test --configuration=ci