system_assignation/node_modules/tmp-promise/publish.js

8 lines
188 B
JavaScript

'use strict';
const { execSync } = require('child_process');
const { version } = require('./package');
execSync('npm run test');
execSync(`git tag v${version}`);
execSync('npm publish');