chore(actions): install deps & tools before lint

This commit is contained in:
Erica Marigold 2024-03-28 16:25:53 +05:30 committed by GitHub
parent 66db8e062b
commit ca3b9bfb09
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -67,6 +67,17 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install PNPM
uses: pnpm/action-setup@v3
- name: Install Node
uses: actions/setup-node@v4.0.2
with:
cache: 'pnpm'
- name: Install dependencies
run: pnpm i
- name: Install tooling - name: Install tooling
uses: ok-nick/setup-aftman@v0.4.2 uses: ok-nick/setup-aftman@v0.4.2
@ -78,5 +89,3 @@ jobs:
- name: Lint - name: Lint
run: pnpm lint run: pnpm lint