Wordpress/appveyor.yml
John Blackbourn 814aa7149f Build/Test Tools: Remove the dependency on a globally installed Grunt.
The existing `"grunt": "grunt"` script in `package.json` allows for the use of `npm run grunt ...` which uses the local `grunt` binary in the project's `node_modules`.

Fixes #47380


git-svn-id: https://develop.svn.wordpress.org/trunk@45445 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 19:34:24 +00:00

35 lines
752 B
YAML

environment:
matrix:
- nodejs_version: 10.13.0
clone_depth: 3
branches:
only:
- master
install:
- ps: Install-Product node $env:nodejs_version
- npm install npm -g
- npm install
before_build:
- node --version
- npm --version
build_script:
- cmd: "npm run build"
test: off
deploy: off
notifications:
- provider: Slack
incoming_webhook:
secure: CmhfxrWwgtwzO/kXoZWXRUB/Jh05AQ7DvOhToqtpm6dN1wBDp9+VnNqxldpv34uPd09vuUk4Nu/NQFkIswuZA5NYfIFJIFWqwnZExQFzTBA=
on_build_success: false
on_build_failure: true
on_build_status_changed: true
template: Build <{{buildUrl}}|#{{buildNumber}}> (<{{commitUrl}}|{{commitId}}>) of {{repositoryName}}@{{branch}} by {{commitAuthor}} {{status}} in {{duration}}