feat: add margin to qrcode and make props readonly #22
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: | |
pull_request: | |
branches: | |
- main | |
- staging | |
- dev | |
push: | |
branches: | |
- main | |
- staging | |
- dev | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
permissions: | |
contents: 'read' | |
actions: 'read' | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/[email protected] | |
- name: Set up Node.js 20.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: .nvmrc | |
cache: 'pnpm' | |
registry-url: 'https://npm.pkg.github.com' | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Run lint | |
run: pnpm lint | |
- name: Run prettier check | |
run: pnpm prettier:check |