blob: 0abcba7243f981af2642a52b8271e1cff70e95ad (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
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
|