fix: fix tests.yml
This commit is contained in:
19
.github/workflows/tests.yml
vendored
19
.github/workflows/tests.yml
vendored
@@ -21,13 +21,12 @@ jobs:
|
|||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
- name: Cache .pnpm-store
|
- name: Cache .pnpm-store
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.pnpm-store
|
path: ~/.pnpm-store
|
||||||
key: ${{ runner.os }}-node${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
key: ${{ runner.os }}-node${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||||
- name: Install pnpm
|
- name: Install pnpm
|
||||||
run: curl -f https://get.pnpm.io/v6.14.js | node - add --global pnpm@6
|
run: curl -f https://get.pnpm.io/v6.14.js | node - add --global pnpm@6
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
- run: cd packages/hoppscotch-app && pnpm ci
|
run: cd packages/hoppscotch-app && pnpm i && pnpm test
|
||||||
- run: pnpm test
|
|
||||||
Reference in New Issue
Block a user