|
1 |
| -name: Test |
| 1 | +name: Lint & Test |
2 | 2 |
|
3 | 3 | on:
|
4 | 4 | push:
|
|
15 | 15 | - name: Checkout Repo
|
16 | 16 | uses: actions/checkout@v4
|
17 | 17 |
|
18 |
| - - name: Install Node.js |
19 |
| - uses: actions/setup-node@v3 |
20 |
| - with: |
21 |
| - node-version: 18 |
22 |
| - |
23 |
| - - uses: pnpm/action-setup@v3 |
24 |
| - with: |
25 |
| - version: 8 |
26 |
| - |
27 |
| - - name: Get pnpm store directory |
28 |
| - shell: bash |
29 |
| - run: | |
30 |
| - echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV |
31 |
| -
|
32 |
| - - name: Setup pnpm cache |
33 |
| - uses: actions/cache@v4 |
34 |
| - with: |
35 |
| - path: ${{ env.STORE_PATH }} |
36 |
| - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('examples/basic-pnpm/pnpm-lock.yaml') }} |
37 |
| - restore-keys: | |
38 |
| - ${{ runner.os }}-pnpm-store- |
| 18 | + - name: Setup pnpm |
| 19 | + uses: wyvox/action-setup-pnpm@v3 |
39 | 20 |
|
40 | 21 | # Install project dependencies
|
41 | 22 | - name: Install dependencies and run linting
|
|
49 | 30 | - name: Checkout Repo
|
50 | 31 | uses: actions/checkout@v4
|
51 | 32 |
|
52 |
| - - name: Install Node.js |
53 |
| - uses: actions/setup-node@v3 |
54 |
| - with: |
55 |
| - node-version: 18 |
56 |
| - |
57 |
| - - uses: pnpm/action-setup@v3 |
58 |
| - with: |
59 |
| - version: 8 |
60 |
| - |
61 |
| - - name: Get pnpm store directory |
62 |
| - shell: bash |
63 |
| - run: | |
64 |
| - echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV |
65 |
| -
|
66 |
| - - name: Setup pnpm cache |
67 |
| - uses: actions/cache@v4 |
68 |
| - with: |
69 |
| - path: ${{ env.STORE_PATH }} |
70 |
| - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('examples/basic-pnpm/pnpm-lock.yaml') }} |
71 |
| - restore-keys: | |
72 |
| - ${{ runner.os }}-pnpm-store- |
| 33 | + - name: Setup pnpm |
| 34 | + uses: wyvox/action-setup-pnpm@v3 |
73 | 35 |
|
74 | 36 | - name: Install Dependencies
|
75 | 37 | run: pnpm install
|
|
119 | 81 | browser: chrome
|
120 | 82 | build: pnpm build
|
121 | 83 | start: pnpm test:cy:start-server
|
122 |
| - wait-on: 'http://127.0.0.1:9002' |
123 |
| - wait-on-timeout: 120 |
124 | 84 |
|
125 | 85 | automerge:
|
126 | 86 | needs: [test-unit, test-integration]
|
|
0 commit comments