Gulp is a task runner that uses Node. js as a platform. Gulp purely uses the JavaScript code and helps to run front-end tasks and large-scale web applications. It builds system automated tasks like CSS and HTML minification, concatenating library files, and compiling the SASS files.
same like above process we integrate Gulp with razorops using .razorops.yaml file
https://github.com/Razorops-code/Super-Simple-Gulp-File.git
tasks:
build-deps:
runner: node:10
steps:
- checkout
# installing npm
- run: npm install
# know about version
- run: npm --version
# installing gulp cli with global
- run: npm install -g gulp-cli
# know about gulp version
- run: gulp --version
# installing sass with dev
- run: npm install sass gulp-sass --save-dev
# running gulp sass task #
- run: gulp sass
<script src="https://gist.github.com/Razorops-code/f79151b4f088b974b3e3dedd4b153241.js"></script>
Here we enter .razororps.yaml code and click on Run your first build
Here we mention sass task in script to create compile .css file