fix: hide depth-edit modal behind permission check #3719
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
types: | |
- opened | |
- edited | |
- synchronize | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out git repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.tool-versions' | |
cache: 'npm' | |
cache-dependency-path: | | |
dev-client/package-lock.json | |
- name: Install Node dependencies | |
working-directory: ./dev-client | |
run: npm ci | |
- name: Lint JavaScript | |
working-directory: ./dev-client | |
run: npm run lint | |
- name: Typecheck TypeScript | |
working-directory: ./dev-client | |
run: npm run check-ts | |
- name: Check NPM module usage | |
working-directory: ./dev-client | |
run: npm run check-modules |