Skip to content

Create main.yml

Create main.yml #1

Workflow file for this run

on:
push:
branches:
- main
jobs:
build:
steps:

Check failure on line 8 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 8, Col: 5): Required property is missing: runs-on
- name: Checkout Build
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
- name: npm install
run: npm install