Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
juanpicado committed Sep 2, 2023
1 parent fee336f commit 99ec1f8
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ jobs:
with:
node-version-file: '.nvmrc'
- name: Install pnpm
run: npm i pnpm@latest-8 -g
run: |
corepack enable
corepack prepare --activate pnpm@latest-8
- name: Install
run: pnpm install --registry http://localhost:4873
lint:
Expand All @@ -44,7 +46,9 @@ jobs:
with:
node-version-file: '.nvmrc'
- name: Install pnpm
run: npm i pnpm@latest-8 -g
run: |
corepack enable
corepack prepare --activate pnpm@latest-8
- name: Install
run: pnpm install --ignore-scripts
- name: Lint
Expand All @@ -67,13 +71,15 @@ jobs:
# - name: untar packages
# run: tar -xzvf pkg.tar.gz -C ${{ github.workspace }}/packages
- name: Install pnpm
run: npm i pnpm@latest-8 -g
run: |
corepack enable
corepack prepare --activate pnpm@latest-8
- uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
- name: Install
run: pnpm recursive install --frozen-lockfile --ignore-scripts
run: pnpm install --frozen-lockfile --ignore-scripts
- name: build
run: pnpm build
- name: Test
Expand Down

0 comments on commit 99ec1f8

Please sign in to comment.