Skip to content

Bump nodemon from 3.1.0 to 3.1.2 #1183

Bump nodemon from 3.1.0 to 3.1.2

Bump nodemon from 3.1.0 to 3.1.2 #1183

Workflow file for this run

# This workflow will do a clean install of node dependencies and check the code
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: CI
on:
workflow_dispatch:
push:
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [lts/*]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Look for JS errors and show how to fix them
run: |
echo -e "\033[0;36m" Installing modules...
npm ci
echo -e "\033[0;36m" Number of quotes:
npm run count
echo -e "\033[0;36m" Installing jsonlint...
sudo npm i -g jsonlint
echo -e "\033[0;36m" Checking for code errors...
for i in *.js db/*.js; do npx eslint $i; npx eslint --fix-dry-run $i; done; for i in *.json; do jsonlint -q $i; done
# git checkout -b origin/$(git for-each-ref --count=30 --sort=-committerdate refs/heads/ --format='%(refname:short)' | head -1)
# git log | head -1 | sed 's/commit//g'
- name: Notify if the code is broken
uses: sarisia/actions-status-discord@v1
if: failure()
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}