Skip to content

Update first-workflow.yml #14

Update first-workflow.yml

Update first-workflow.yml #14

name: learn-github-actions
run-name: ${{ github.actor }} is learning GitHub Actions
on: [push]
jobs:
job1:
runs-on: ubuntu-latest

Check failure on line 6 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 6
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:
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.