A project has been created and placed on Github. I was trying to explore the Github Actions, with building Angular-cli projects.
The .yml file for githubAction is as follows,
steps:
- uses: actions/checkout@v1
- name: Install NPM
run: npm install
- name: Update Npm
run: npm update
- name: Typescript compiler
uses: iCrawl/action-tsc@v1
- name: NpM angular CLI
uses: npm install angular-cli
- name: Build
run: npm build
Then while building gets the following error,
The pipeline is not valid. .github/workflows/main.yml (Line: 19, Col: 13): Expected format {org}/{repo}[/path]@ref. Actual 'npm install angular-cli',Input string was not in a correct format.