This repository has been archived by the owner on Dec 12, 2023. It is now read-only.
chore(deps): update dependency node to v18.19.0 #52
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 and Lint with pnpm | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
format_and_lint: | |
name: Format and Lint Code with pnpm | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18 | |
cache: pnpm | |
cache-dependency-path: pnpm-lock.yaml | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Format Code | |
run: pnpm format | |
- name: Lint Code | |
run: pnpm lint-run |