refactor: project maintenance #39
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: AdonisJS check | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
adonis-js-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js specified in the '.nvmrc' file | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install pnpm | |
run: npm i -gf "pnpm@$(node -p 'require("./package.json").engines.pnpm')" && pnpm -v | |
- run: pnpm install | |
- run: pnpm typecheck | |
- run: pnpm lint | |
- run: pnpm test | |
- run: pnpm run build |