Skip to content

Commit

Permalink
ci: update build.yml to run on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
Dafyh committed Aug 1, 2024
1 parent f948a55 commit 0984d0a
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,9 @@ jobs:
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
uses: dcodeIO/setup-node-nvm@master
with:
node-version: '18'

- name: Install dependencies
run: npm install
node-version: 18

- name: Create a folder for the tarball
run: |
Expand Down Expand Up @@ -83,11 +80,12 @@ jobs:
./vcpkg/vcpkg install libheif
# Build project
npm install
npm run configure
npm run build
# Run tests
# npm run test
npm run test
# Copy .node in the release folder
cp ./src/build/Release/converter.node ./release/lib/converter.${{ matrix.PLATFORM }}.node
Expand Down

0 comments on commit 0984d0a

Please sign in to comment.