Skip to content

Merge pull request #77 from BeyteFlow/dependabot/github_actions/actio… #121

Merge pull request #77 from BeyteFlow/dependabot/github_actions/actio…

Merge pull request #77 from BeyteFlow/dependabot/github_actions/actio… #121

Workflow file for this run

# .github/workflows/nodejs.yml
name: Node.js CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Use Node.js 18
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 18
- run: npm install
- run: npm run lint || echo "Skipping lint if not set"
- run: npm test || echo "Skipping test if not set"