Skip to content

Commit

Permalink
fix installation on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
foxriver76 committed Dec 19, 2023
1 parent 6295a49 commit ca06ea9
Show file tree
Hide file tree
Showing 55 changed files with 32 additions and 4,683 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,18 +76,10 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm install
run: npm i -f

- name: Run local tests
run: npm test
# - name: Run unit tests
# run: npm run test:unit
# - name: Run integration tests # (linux/osx)
# if: startsWith(runner.OS, 'windows') == false
# run: DEBUG=testing:* npm run test:integration
# - name: Run integration tests # (windows)
# if: startsWith(runner.OS, 'windows')
# run: set DEBUG=testing:* & npm run test:integration

adapter-tests-gui:
if: contains(github.event.head_commit.message, '[skip ci]') == false
Expand All @@ -104,7 +96,12 @@ jobs:
node-version: 18.x

- name: Install Dependencies
run: npm install
run: |
npm i -f
npm i -f -w packages/jsonConfig
npm i -f -w packages/admin
cd packages/admin/src
npm i -f
- name: Build
run: NODE_OPTIONS=--max_old_space_size=8192 npm run build
Expand Down Expand Up @@ -155,7 +152,12 @@ jobs:
echo "::set-output name=BODY::$BODY"
- name: Install Dependencies
run: npm install
run: |
npm i -f
npm i -f -w packages/jsonConfig
npm i -f -w packages/admin
cd packages/admin/src
npm i -f
- name: Publish package to npm
run: |
Expand Down
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules
.idea
.nx
**/src/.eslintcache
**/src/.cache
tmp/
Expand All @@ -18,12 +19,11 @@ admin/words.js
/lib/passportSocket.js
**/build
package-lock.json
/src/.eslintcache
/src-admin/package-lock.json
/src/public_aes
/src/public/js/adapter-settings-aes.js
**/src-admin/package-lock.json
**/src/public_aes
**/src/public/js/adapter-settings-aes.js
testSentry.bat
/adminWww/
**/adminWww/

# ioBroker dev-server
.dev-server/
29 changes: 0 additions & 29 deletions .nx/cache/d/daemon.log

This file was deleted.

Loading

0 comments on commit ca06ea9

Please sign in to comment.