File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6464 - name : 🔎 Type check
6565 run : pnpm run typecheck --filter webapp
6666
67+ unitTests :
68+ name : Unit Tests
69+ runs-on : buildjet-4vcpu-ubuntu-2204
70+ steps :
71+ - name : ⬇️ Checkout repo
72+ uses : actions/checkout@v3
73+ with :
74+ fetch-depth : 0
75+
76+ - name : ⎔ Setup pnpm
77+ uses : pnpm/action-setup@v2.2.4
78+ with :
79+ version : 7.18
80+
81+ - name : ⎔ Setup node
82+ uses : buildjet/setup-node@v3
83+ with :
84+ node-version : 18
85+ cache : " pnpm"
86+
87+ - name : 📥 Download deps
88+ run : pnpm install --frozen-lockfile
89+
90+ - name : Run Unit Tests
91+ run : |
92+ pnpm run test
93+
6794 e2e :
6895 name : e2e Tests
6996 runs-on : buildjet-4vcpu-ubuntu-2204
@@ -122,7 +149,7 @@ jobs:
122149 retention-days : 30
123150
124151 publish :
125- needs : [typecheck, e2e]
152+ needs : [typecheck, unitTests, e2e]
126153 runs-on : buildjet-4vcpu-ubuntu-2204
127154 outputs :
128155 version : ${{ steps.get_version.outputs.version }}
You can’t perform that action at this time.
0 commit comments