Skip to content

Workflow file for this run

name: First workflow
on: [push, workflow_dispatch]
jobs:
lint:
steps:
- name: getting code
runs on: ubuntu-latest

Check failure on line 7 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / First workflow

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 7, Col: 9): Unexpected value 'runs on' .github/workflows/test.yml (Line: 5, Col: 5): Required property is missing: runs-on
uses: actions/checkout@v4
- name: installing dependencies
run: npm ci
- name: linting code
run: npm run lint
build:
needs: lint
steps:
- name: getting code
runs on: ubuntu-latest
uses: actions/checkout@v4
- name: installing dependencies
run: npm ci
- name: building app
run: npm run build
test:
needs: build
steps:
- name: getting code
runs on: ubuntu-latest
uses: actions/checkout@v4
- name: installing dependencies
run: npm ci
- name: testing app
run: npm run test