Skip to content

Merge pull request #15 from BeyteFlow/database #15

Merge pull request #15 from BeyteFlow/database

Merge pull request #15 from BeyteFlow/database #15

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@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: Use Node.js 18
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
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"