Skip to content

Update first-workflow.yml #12

Update first-workflow.yml

Update first-workflow.yml #12

name: learn-github-actions
run-name: ${{ github.actor }} is learning GitHub Actions
on: [push]
jobs:
job1:
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
jobs:

Check failure on line 15 in .github/workflows/first-workflow.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/first-workflow.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
job2:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Run Crossways action
uses: owner/repo@version # replace with actual repository and version
- name: Run a multi-line script
run: |
echo Add other actions to build,
echo test, and deploy your project.