Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sucssite
sucs-site
Commits
9e43fafb
Commit
9e43fafb
authored
Dec 23, 2021
by
Imran Hussain
Browse files
Merge branch 'fix-ci' into 'master'
Use node:current image See merge request
!124
parents
153f56fe
c977f70e
Pipeline
#827
passed with stage
in 1 minute and 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
9e43fafb
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment