Skip to content

Upgrade node (20.18.0), pnpm (9.12.0) and python (3.12.7) #100

Upgrade node (20.18.0), pnpm (9.12.0) and python (3.12.7)

Upgrade node (20.18.0), pnpm (9.12.0) and python (3.12.7) #100

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