File tree Expand file tree Collapse file tree 2 files changed +14
-51314
lines changed Expand file tree Collapse file tree 2 files changed +14
-51314
lines changed Original file line number Diff line number Diff line change @@ -36,15 +36,16 @@ jobs:
36
36
uses : actions/setup-node@v2
37
37
with :
38
38
node-version : ${{ matrix.node-version }}
39
- - name : install npm 7
40
- run : npm i -g npm@^7
41
- - name : npm install
42
- run : npm ci
39
+ - name : Install pnpm
40
+
41
+ with :
42
+ version : 6
43
+ run_install : true
43
44
- name : Generate Prisma Schema
44
45
if : ${{ matrix.test == 'prisma-sample' }}
45
- run : npx prisma generate --schema apps/prisma-sample/prisma/schema.prisma
46
- - name : npm test
47
- run : npm run nx -- test ${{ matrix.test }}
46
+ run : pnpx prisma generate --schema apps/prisma-sample/prisma/schema.prisma
47
+ - name : pnpm test
48
+ run : pnpm nx test ${{ matrix.test }}
48
49
49
50
e2e-test :
50
51
runs-on : ubuntu-latest
@@ -58,14 +59,15 @@ jobs:
58
59
uses : actions/setup-node@v2
59
60
with :
60
61
node-version : ${{ matrix.node-version }}
61
- - name : install npm 7
62
- run : npm i -g npm@^7
63
62
- name : Start Docker-Compose
64
63
run : docker-compose up -d
65
- - name : npm install
66
- run : npm ci
64
+ - name : Install pnpm
65
+
66
+ with :
67
+ version : 6
68
+ run_install : true
67
69
- name : Run tests
68
- run : npm run test:e2e
70
+ run : pnpm run test:e2e
69
71
- name : Stop Docker-Compose
70
72
run : docker-compose down
71
73
You can’t perform that action at this time.
0 commit comments