This repository was archived by the owner on May 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +22
-8
lines changed
Expand file tree Collapse file tree 3 files changed +22
-8
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,15 @@ jobs:
1414 uses : actions/setup-node@v3
1515 with :
1616 node-version : ${{ matrix.node }}
17- - run : npm install
18- - run : npm link
17+ - name : Install packages
18+ run : npm install
19+ - name : Symlink CLI package
20+ run : npm link
1921 - name : Run tests
2022 run : npm run test
2123 env :
22- DD_CIVISIBILITY_AGENTLESS_ENABLED : ${{ secrets.DD_CIVISIBILITY_AGENTLESS_ENABLED }}
23- DD_API_KEY : ${{ secrets.DATADOG_API_KEY }}
24+ DD_CIVISIBILITY_AGENTLESS_ENABLED : true
25+ DD_API_KEY : ${{ secrets.DD_API_KEY }}
26+ DD_ENV : ci
27+ DD_SERVICE : codiga-cli
28+ NODE_OPTIONS : -r dd-trace/ci/init
Original file line number Diff line number Diff line change 1212 with :
1313 node-version : ' 16.x'
1414 registry-url : ' https://registry.npmjs.org'
15- - run : npm install
16- - run : npm link
17- - run : npm run test
15+ - name : Install packages
16+ run : npm install
17+ - name : Symlink CLI package
18+ run : npm link
19+ - name : Run tests
20+ run : npm run test
21+ env :
22+ DD_CIVISIBILITY_AGENTLESS_ENABLED : true
23+ DD_API_KEY : ${{ secrets.DD_API_KEY }}
24+ DD_ENV : ci
25+ DD_SERVICE : codiga-cli
26+ NODE_OPTIONS : -r dd-trace/ci/init
1827 - run : npm publish
1928 env :
2029 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1515 "access" : " public"
1616 },
1717 "scripts" : {
18- "test" : " cross-env NODE_ENV=test NODE_OPTIONS= \" -r dd-trace/ci/init \" DD_ENV=ci DD_SERVICE=codiga-cli jest"
18+ "test" : " cross-env NODE_ENV=test jest"
1919 },
2020 "keywords" : [
2121 " Codiga" ,
You can’t perform that action at this time.
0 commit comments