File tree Expand file tree Collapse file tree 1 file changed +36
-1
lines changed
Expand file tree Collapse file tree 1 file changed +36
-1
lines changed Original file line number Diff line number Diff line change 3636 - name : Install dependencies
3737 run : pnpm install
3838
39+ lint :
40+ runs-on : ubuntu-latest
41+ steps :
42+ - name : Checkout repository
43+ uses : actions/checkout@v4
44+ - name : Install pnpm
45+ uses : pnpm/action-setup@v4
46+ with :
47+ version : 10
48+ - name : Set up Node.js
49+ uses : actions/setup-node@v4
50+ with :
51+ node-version : 22
52+ cache : ' pnpm'
53+ - name : Install dependencies
54+ run : pnpm run lint
55+
56+ test :
57+ runs-on : ubuntu-latest
58+ steps :
59+ - name : Checkout repository
60+ uses : actions/checkout@v4
61+ - name : Install pnpm
62+ uses : pnpm/action-setup@v4
63+ with :
64+ version : 10
65+ - name : Set up Node.js
66+ uses : actions/setup-node@v4
67+ with :
68+ node-version : 22
69+ cache : ' pnpm'
70+ - name : Run tests
71+ run : pnpm run test
72+
73+
3974 build :
4075 runs-on : ubuntu-latest
4176 needs : [pnpm-install]
72107
73108 build-and-deploy :
74109 runs-on : ubuntu-latest
75- needs : [build]
110+ needs : [lint, test, build]
76111 if : github.event_name == 'push' && github.ref == 'refs/heads/main'
77112 steps :
78113 - name : Checkout repository
You can’t perform that action at this time.
0 commit comments