Skip to content

chore(deps): update dependency @netlify/serverless-functions-api to ^1.31.0 #712

chore(deps): update dependency @netlify/serverless-functions-api to ^1.31.0

chore(deps): update dependency @netlify/serverless-functions-api to ^1.31.0 #712

Workflow file for this run

name: Lint
on:
pull_request:
branches:
- main
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- run: npm ci
- name: Prettify code
uses: creyD/[email protected]
with:
prettier_options: --write .
only_changed: true
commit_message: 'chore: format with prettier'
clean_node_folder: false
- name: Lint
# github adds inline annotation for compact or stylish format
# which is different than our default for local usage
run: npm run lint -- --format=compact
- name: Types
run: npm run typecheck
# we still want to check types if lint fails just to know everything
# and not peel errors to uncover new ones of different type
if: always()