Skip to content

update lockfile

update lockfile #20

Workflow file for this run

name: Lint
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
# branches:
# - main
pull_request:
# branches:
# - main
env:
PNPM_VERSION: 8.6.11
NODE_VERSION: 18
jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Install node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: ${{ env.PNPM_VERSION }}
run_install: false
# ESLint and Prettier must be in `package.json`
- name: Install dependencies
run: pnpm i
- name: Run linters
uses: wearerequired/lint-action@v2
with:
eslint: true
prettier: false #runs part of eslint
autofix: false #does not work well with pull requests https://github.com/wearerequired/lint-action?tab=readme-ov-file#limitations