Skip to content

ci: Update build and test job #30

ci: Update build and test job

ci: Update build and test job #30

name: Build and test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
steps:

Check failure on line 13 in .github/workflows/build_and_test.yml

View workflow run for this annotation

GitHub Actions / Build and test

Invalid workflow file

The workflow is not valid. .github/workflows/build_and_test.yml (Line: 13, Col: 5): Required property is missing: runs-on
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.x"
- run: npm ci
- run: npm run build --if-present
- run: npm test