17 remove metadata on objects sent back to server with actions #113
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: libs/ngrx-hateoas | |
on: [push, pull_request] | |
jobs: | |
test_and_build: | |
name: 'Test and Build' | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout repository | |
- name: Checkout | |
uses: actions/checkout@v4 | |
# Install Node.js | |
- name: Install Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
# Restore dependencies | |
- name: Restore dependencies | |
run: | | |
npm install | |
# Execute all unit tests | |
- name: Execute tests | |
run: | | |
npm run test:github | |
# Build library | |
- name: Build library | |
run: | | |
npm run build | |
# Lint library | |
- name: Lint library | |
run: | | |
npm run lint | |
# Restore dependencies | |
- name: Restore dependencies for doc | |
run: | | |
cd doc | |
npm install | |
# Build documentation | |
- name: Build documentation | |
run: | | |
cd doc | |
npm run build | |