This repository has been archived by the owner on Dec 6, 2024. It is now read-only.
Consider serivice healthy on response #99
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: '(ci/cd) UI: Lint' | |
on: | |
pull_request: | |
env: | |
NODE_VERSION: '20.x' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Node.js ${{ env.NODE_VERSION }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: Install dependencies | |
run: npm install -g pnpm | |
- name: pnpm install | |
working-directory: ./plugin | |
run: pnpm install | |
- name: Run lint | |
working-directory: ./plugin | |
run: pnpm run lint |