Commit bc5f8a8 1 parent 3efb5cd commit bc5f8a8 Copy full SHA for bc5f8a8
File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -38,14 +38,15 @@ jobs:
38
38
# TODO: Have working unit tests generated
39
39
# - name: Run Unit Tests
40
40
# run: |
41
- # npm run unit
42
-
43
- # TODO: Integration tests requires metacall/FaaS or dashboard.metacall.io credentials
44
- # TODO: unComment when we are ready for integration tests
45
- # - name: Run Tests
46
- # run: |
47
41
# npm run test
48
42
43
+ - name : Run Integration Tests
44
+ shell : bash
45
+ run : |
46
+ docker compose build
47
+ docker compose up test
48
+ docker compose down
49
+
49
50
- name : Publish
50
51
uses : JS-DevTools/npm-publish@v1
51
52
if : startsWith(github.ref, 'refs/tags/')
Original file line number Diff line number Diff line change 5
5
"main" : " dist/index.js" ,
6
6
"scripts" : {
7
7
"test" : " npm run build && mocha dist/test" ,
8
- "unit" : " npm run test -- --ignore **/integration**" ,
9
8
"prepublishOnly" : " npm run build" ,
10
9
"buildDebug" : " npm run lint && tsc --sourceMap true" ,
11
10
"build" : " npm run lint && tsc" ,
You can’t perform that action at this time.
0 commit comments