Skip to content

Upgrade node (20.17.0), pnpm (9.9.0) #99

Upgrade node (20.17.0), pnpm (9.9.0)

Upgrade node (20.17.0), pnpm (9.9.0) #99

Workflow file for this run

name: AdonisJS check
on:
pull_request:
branches: [main]
jobs:
adonis-js-check:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v3
- name: Use Node.js specified in the '.nvmrc' file
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: 'pnpm'
- name: Install node dependencies recursively
uses: nick-fields/retry@v3
with:
command: pnpm i
timeout_minutes: 15
max_attempts: 3
retry_on: error
- name: Run typecheck
run: pnpm typecheck
- name: Run linter
run: pnpm lint
- name: Run tests
run: pnpm test
- name: Run build
run: pnpm run build