Skip to content

add new pull request template for tool addition and technical develop… #634

add new pull request template for tool addition and technical develop…

add new pull request template for tool addition and technical develop… #634

name: Lint and Formatting Check
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
workflow_dispatch:
jobs:
lint_and_format:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '16'
- uses: actions/cache@v4
with:
path: |
~/.npm
.node_modules
key: ${{ runner.os }}-techradar-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
run: npm install
- name: Check tools jsonld formatting with Prettier
run: |
npm run lint-prettier:check