[SUCS Devel] [Git][sucssite/sucs-site][master] 2 commits: Use node:current image

Imran Hussain (@imranh) imranh at sucs.org
Thu Dec 23 11:50:58 GMT 2021



Imran Hussain pushed to branch master at sucssite / sucs-site


Commits:
c977f70e by Imran Hussain at 2021-12-23T11:46:24+00:00
Use node:current image
- - - - -
9e43fafb by Imran Hussain at 2021-12-23T11:50:55+00:00
Merge branch 'fix-ci' into 'master'

Use node:current image

See merge request sucssite/sucs-site!124
- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -22,15 +22,8 @@ php-syntax-check:
 
 js-syntax-check:
   stage: test
+  image: node:current
   script:
-   - apt-get clean
-   - apt-get update
-#   - apt-get install -y nodejs
-#   - ln -s /usr/bin/nodejs /usr/bin/node
-   - apt-get install -y curl gnupg
-   - curl -sL https://deb.nodesource.com/setup_8.x | bash -
-   - apt-get install -y nodejs
-   - apt-get install -y npm
    - npm install -g jshint        
    - find htdocs/js/ -name *.js ! -name jquery* | xargs -n 1 jshint --verbose
 
@@ -52,4 +45,4 @@ deploy-live:
    - curl https://sucs.org/pull.php
   only:
    - sucs-site
-  environment: live
\ No newline at end of file
+  environment: live



View it on GitLab: https://projects.sucs.org/sucssite/sucs-site/-/compare/153f56fe7fc809a59e8a3c476d72d5d172279037...9e43fafb3e1fe7270575704a31dc498da858283a

-- 
View it on GitLab: https://projects.sucs.org/sucssite/sucs-site/-/compare/153f56fe7fc809a59e8a3c476d72d5d172279037...9e43fafb3e1fe7270575704a31dc498da858283a
You're receiving this email because of your account on projects.sucs.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/devel/attachments/20211223/d27feaa1/attachment-0001.html>


More information about the Devel mailing list