Skip to content

add package workspace to the package.json root in order to install ne… #116

add package workspace to the package.json root in order to install ne…

add package workspace to the package.json root in order to install ne… #116

Workflow file for this run

name: Build and Tests
on:
push:
branches:
- "**"
pull_request:
branches:
- master
jobs:
run-tests:
if: "!contains(github.event.head_commit.message, 'skip ci')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
with:
node-version: "18"
registry-url: "https://registry.npmjs.org"
- name: "Cache node Modules"
uses: actions/cache@v4.0.0
with:
path: ~.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci --ignore-scripts
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Build Angular Library
run: npm run build
- name: Running Tests
run: npm run test