This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 570083bf Remove debugging code
570083bf is described below

commit 570083bf87352fafa3d2f89d7a62665054e60225
Author: Sebb <[email protected]>
AuthorDate: Thu Apr 7 15:51:30 2022 +0100

    Remove debugging code
---
 .github/workflows/unittestagenda.yml | 15 +--------------
 www/board/agenda/Rakefile            |  8 --------
 2 files changed, 1 insertion(+), 22 deletions(-)

diff --git a/.github/workflows/unittestagenda.yml 
b/.github/workflows/unittestagenda.yml
index e77793f3..5459acd9 100644
--- a/.github/workflows/unittestagenda.yml
+++ b/.github/workflows/unittestagenda.yml
@@ -22,11 +22,6 @@ jobs:
         sudo apt-get install libldap2-dev
         sudo apt-get install libsasl2-dev
       if:  matrix.os == 'ubuntu-20.04'  
-    - uses: actions/setup-node@v3
-      with:
-        node-version: '14.19.1'
-        # it seems that using the default Ubuntu version of node (14.19.0)
-        # somehow fails to set the correct path for rake to use
     - uses: actions/checkout@v2
       with:
         persist-credentials: false
@@ -44,14 +39,6 @@ jobs:
         sudo $(which ruby) -I $PWD/lib -r whimsy/asf -e "ASF::LDAP.configure"
     - name: test agenda code
       run: |
-        echo '================'
-        echo $PATH
-        npm -v || true
-        node -v || true
-        echo '================'
-        bundle exec env | grep '^PATH'
-        echo '================'
         cd www/board/agenda
         bundle exec rake path
-        echo '================'
-        NPM_PATH=$(which npm) SKIP_NAVIGATION=1 bundle exec rake
+        SKIP_NAVIGATION=1 bundle exec rake
diff --git a/www/board/agenda/Rakefile b/www/board/agenda/Rakefile
index de565fc0..0a205f08 100644
--- a/www/board/agenda/Rakefile
+++ b/www/board/agenda/Rakefile
@@ -15,10 +15,6 @@ task :default => :spec
 task :spec => 'test:setup'
 task :test => :spec
 
-task :path do
-  puts ENV['PATH'] # TEMP CHECK
-end
-
 # setup authentication
 task :auth do
   require 'etc'
@@ -56,10 +52,6 @@ task "touch" do
 end
 
 file 'package-lock.json' => 'package.json' do
-  puts ENV['PATH'] # TEMP CHECK
-  sh 'type npm || true' # TEMP CHECK
-  sh 'which -a npm || true' # TEMP CHECK
-  sh 'echo $PATH' # TEMP CHECK
   sh 'npm install'
   sh 'touch package-lock.json'
 end

Reply via email to