Skip to content

ops: run lint on CI #14

ops: run lint on CI

ops: run lint on CI #14

Workflow file for this run

name: test suite
on: [push]
image: ubuntu-latest

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

View workflow run for this annotation

GitHub Actions / test suite

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 3, Col: 1): Unexpected value 'image' .github/workflows/main.yml (Line: 7, Col: 5): Required property is missing: runs-on
jobs:
lint:
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup node v20
uses: actions/setup-node@v4
with:
node-version: 20.18.0 # match .tool-versions file
- name: install
run: npm ci
- name: tests
run: npm run lint
test:
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup node v20
uses: actions/setup-node@v4
with:
node-version: 20.18.0 # match .tool-versions file
- name: install
run: npm ci
- name: tests
run: npm run test