Skip to content

serphouse-nodejs npm package #22

serphouse-nodejs npm package

serphouse-nodejs npm package #22

Workflow file for this run

name: Lint and Format
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
statuses: write
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "18.x"
cache: "npm"
env:
CI: false

Check failure on line 30 in .github/workflows/linter.yml

View workflow run for this annotation

GitHub Actions / Lint and Format

Invalid workflow file

The workflow is not valid. .github/workflows/linter.yml (Line: 30, Col: 13): A mapping was not expected
- name: Install dependencies
run: npm install
- name: Run ESLint
run: npx eslint .
- name: Run Prettier Check
run: npx prettier --check .