Merge pull request #2 from Pyxlab/feature/subaccounts #3
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 | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'packages/adonis/**' | |
workflow_dispatch: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup PNPM | |
uses: pnpm/action-setup@v3 | |
with: | |
version: 8 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: 'pnpm' | |
- name: Install | |
run: pnpm install --no-frozen-lockfile | |
- name: Run lint | |
run: pnpm --filter @cel_cash/adonisjs lint | |
typecheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup PNPM | |
uses: pnpm/action-setup@v3 | |
with: | |
version: 8 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: 'pnpm' | |
- name: Install | |
run: pnpm install --no-frozen-lockfile | |
- name: Build @cel_cash/adonisjs dependencies | |
run: pnpm --filter @cel_cash/core build | |
- name: Run typecheck | |
run: pnpm --filter @cel_cash/adonisjs type-check |