Private GIT

Skip to content
Snippets Groups Projects
Commit 8c607034 authored by Kfir Hadas's avatar Kfir Hadas Committed by GitHub
Browse files

Add a Grunt exec:test task that runs the 'test' script (#3939)

Fixes the missing 'ci' task.
parent bab57783
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ module.exports = function(grunt) {
* Admin only tasks *
****************************************/
grunt.registerTask('publish', 'ADMIN: Create a new release tag and generate new CHANGES.md', [
'ci',
'exec:test', // Run tests
'newrelease', // Pull and merge develop to master, create and push a new release
'genchanges' // Update CHANGES.md
]);
......@@ -217,6 +217,9 @@ module.exports = function(grunt) {
'crowdin_download': {cmd: 'crowdin-cli-py download'},
'babel_compile': {cmd: 'python setup.py compile_catalog'},
// Run tests
'test': {cmd: 'yarn run test || npm run test'},
// Publish/Releases
'git': {
cmd: function (cmd, branch) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment