chore: fix typo and remove useless eslint disable #34
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: | |
branches: | |
- main | |
types: [opened, synchronize, reopened] | |
env: | |
CI: true | |
NODE_VERSION: 16 | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
lint: | |
name: 📚 lint and type check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/[email protected] | |
- name: Use Node.js ${{ env.NODE_VERSION }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
shell: bash | |
- name: lint | |
run: pnpm test-linter | |
- name: type check | |
run: pnpm test-type |