Skip to content

Commit

Permalink
Updates package
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmerfield committed Feb 23, 2024
1 parent 5c4fce2 commit 6213d3d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/image-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,17 @@ jobs:

- name: Get Redis network name
id: redis_network
run: echo "::set-output name=network_name::$(docker network ls --filter name=_default -q)"
run: echo "REDIS_NETWORK_NAME=$(docker network ls --filter name=_default -q)" >> $GITHUB_ENV

- name: Run tests in Docker container
run: |
docker run --rm \
--network name=${{ job.services.redis.network }} \
--network name=$REDIS_NETWORK_NAME \
-e BLOT_REDIS_HOST=redis \
my-node-app-builder sh -c "\
git config --global user.email '[email protected]' && \
git config --global user.name 'Your Name' && \
npm run setup && npm test"
node run app/setup && npm test"
- name: Move cache
run: |
Expand Down
3 changes: 3 additions & 0 deletions tests/unused-dependencies/check_dependency.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/sh

PATH_TO_THIS_FILE=$(readlink -f $0)
APP_ROOT=$(dirname $(dirname $(dirname $PATH_TO_THIS_FILE)))/app

# prevent exit error if grep finds no match
set +e
grep -rnwl app -e "require([\"'].*$1.*[\"'])" --exclude-dir=importer --include=\*.js
Expand Down

0 comments on commit 6213d3d

Please sign in to comment.