File Service Register Provider #316
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: Format & Lint | |
on: [pull_request] | |
jobs: | |
lint: | |
name: Format & Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v4 | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v2 | |
with: | |
version: '24.4' | |
- name: Install | |
run: pnpm install --frozen-lockfile | |
id: install | |
- name: Run prettier | |
run: pnpm format:check | |
- name: Run ESLint | |
run: pnpm nx clear-cache && pnpm lint --verbose | |
# Always run the linter, even if prettier failed | |
if: ${{ steps.install.outcome == 'success' }} |