Skip to content

Commit

Permalink
fix pnpm setup
Browse files Browse the repository at this point in the history
  • Loading branch information
UrielCh committed Apr 16, 2024
1 parent 3bd2b45 commit 2bdfb34
Showing 1 changed file with 13 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- "test/**"
- "typings/**"
- "package.json"
- ".github/workflows/linux-prebuild.yml"
- ".github/workflows/prebuild-linux.yml"
pull_request:
branches: [ "master" ]
paths:
Expand All @@ -20,7 +20,7 @@ on:
- "test/**"
- "typings/**"
- "package.json"
- ".github/workflows/linux-prebuild.yml"
- ".github/workflows/prebuild-linux.yml"

env:
OPENCV4NODEJS_DISABLE_AUTOBUILD: 1
Expand All @@ -41,17 +41,25 @@ jobs:
- 20

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install OpenCV ${{ matrix.opencv_version }}
run: |
sudo apt update
sudo apt install libopencv-dev
- uses: actions/setup-node@v4
- name: Install Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
cache: 'pnpm'

- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
run_install: |
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
- name: pnpm run prepack
run: pnpm run prepack

Expand Down

0 comments on commit 2bdfb34

Please sign in to comment.