This repository was archived by the owner on Feb 2, 2025. It is now read-only.
File tree 2 files changed +5
-13
lines changed
2 files changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -28,20 +28,12 @@ jobs:
28
28
run : npm install
29
29
30
30
- name : Run build
31
- run : npm run build
32
-
33
- - name : Pack library
34
- run : npm pack
35
-
36
- # test demo
37
- - name : Install demo dependencies
38
- working-directory : ./demo
39
- run : npm install
31
+ run : npm run build:lib
40
32
41
33
- name : Install current angular-datatables to demo
42
34
working-directory : ./demo
43
- run : rm -rf node_modules/angular-datatables && npm install --no-save --no-package-lock ../angular-datatables-*.tgz
35
+ run : npm run link:lib
44
36
45
37
- name : Run demo test
46
38
working-directory : ./demo
47
- run : npm run test-ci
39
+ run : npm run demo: test-ci
Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ jobs:
19
19
run : npm install
20
20
21
21
- name : Run build
22
- run : npm run build
22
+ run : npm run build:lib
23
23
24
24
- name : Publish to NPM packages
25
25
# includes a --ignore-scripts command argument to avoid executing npm life cycle scripts during this phase
26
26
# for security concerns as scripts could steal NODE_AUTH_TOKEN
27
- run : npm publish --ignore-scripts --access public
27
+ run : cd lib && npm publish --ignore-scripts --access public
28
28
env :
29
29
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
30
30
You can’t perform that action at this time.
0 commit comments