-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (41 loc) · 988 Bytes
/
ngrx-hateoas.yml
File metadata and controls
52 lines (41 loc) · 988 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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: 22.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