Version Packages #31
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: Prettier | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize, ready_for_review] | |
branches-ignore: | |
- changeset-release/main | |
jobs: | |
linter: | |
name: Running prettier check | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
security-events: write | |
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Setup Node 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "18.16.1" | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 7.14.0 | |
- name: Install Dependencies | |
run: pnpm i | |
- name: Prettier check | |
run: pnpm format | |