Skip to content

functions: change directory of middleware #39

functions: change directory of middleware

functions: change directory of middleware #39

Workflow file for this run

name: Lint
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [18]
steps:
- name: πŸ›Ž Checkout
uses: actions/checkout@v3.5.3
- name: πŸ— Setup node.js
uses: actions/setup-node@v3.7.0
with:
node-version: ${{ matrix.node }}
check-latest: true
- name: πŸ“¦ Cache node_modules
uses: actions/cache@v3.3.1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: πŸ‘¨πŸ»β€πŸ’» Install dependencies
run: npm ci --prefer-offline --no-audit
- name: ✏️ Run linter
run: npm run lint