Skip to content

Merge pull request #180 from Mermade/dependabot/npm_and_yarn/eslint-8… #341

Merge pull request #180 from Mermade/dependabot/npm_and_yarn/eslint-8…

Merge pull request #180 from Mermade/dependabot/npm_and_yarn/eslint-8… #341

Workflow file for this run

name: ci
# Author: @MikeRalphson
# Issue : n/a
# Desc : This workflow runs a simple lint and test for a node.js project
# run this on push to any branch and creation of pull-requests
on: [push, pull_request, workflow_dispatch]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1 # checkout repo content
- uses: actions/setup-node@v1 # setup Node.js
with:
node-version: '18.x'
- name: Audit package-lock.json
run: npx package-lock-audit ./package-lock.json
- name: Install deps
run: npm i
- name: Run lint
run: npm run lint
- name: Run tests
run: npm run test