fix: qrcode extension (#187) #375
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 | |
on: | |
push: | |
branches: ['main'] | |
pull_request: | |
jobs: | |
build: | |
name: Lint & Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/[email protected] | |
with: | |
version: 8 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v3 | |
with: | |
cache: 'pnpm' | |
node-version: 18 | |
- name: Install dependencies | |
run: pnpm install | |
- name: Typecheck & Build | |
run: pnpm build | |
# NOTE: Lint needs to run after build because it checks the compiled files for types | |
- name: Lint | |
run: pnpm lint |