.github/workflows/test.yml #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [workflow_dispatch] | |
jobs: | |
build: | |
name: Build | |
runs-on: windows-latest | |
steps: | |
- name: make project | |
run: | | |
mkdir my-project | |
cd my-project | |
yarn init --yes | |
yarn add --dev gulp | |
yarn gulp --version | |
- name: create gulpfile | |
run: | | |
cd my-project | |
cat "function defaultTask(cb) { console.log("hello"); cb(); } exports.default = defaultTask" > gulpfile.js | |
yarn gulp |