Skip to content

fix: node workflow #215

fix: node workflow

fix: node workflow #215

Workflow file for this run

name: Build-And-Test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
with:
cache: 'npm'
run: npm cinpm install, build, lint and test

Check failure on line 22 in .github/workflows/node.js.yml

View workflow run for this annotation

GitHub Actions / Build-And-Test

Invalid workflow file

The workflow is not valid. .github/workflows/node.js.yml (Line: 22, Col: 15): Unexpected value 'run' .github/workflows/node.js.yml (Line: 19, Col: 15): Required property is missing: uses
- name: Build, lint and test
run: |
npm run build --if-present
npm run lint
npm test
env:
CI: true