Update first-workflow.yml #16
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
name: learn-github-actions | ||
run-name: ${{ github.actor }} is learning GitHub Actions | ||
on: [push] | ||
jobs: | ||
check-bats-version: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: '14' | ||
- run: npm install -g bats | ||
- run: bats -v | ||
job2: | ||
jobs: | ||
cow: | ||
name: Cowsays | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Ship it | ||
uses: mscoutermarsh/cowsays-action@master | ||
with: | ||
text: 'ship ship ship!' | ||
color: 'red | ||
echo Add other actions to build, | ||
echo test, and deploy your project. |