Skip to content

Commit

Permalink
Attempt to run tests on Intel mac
Browse files Browse the repository at this point in the history
  • Loading branch information
karaggeorge committed Nov 17, 2024
1 parent 1e569b8 commit 3f3d9df
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,33 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm build
- run: npm test
- name: Upload build
uses: actions/upload-artifact@v3
with:
name: binding-artifact-${{ matrix.node-version }}
path: build

test-intel:
needs: [test]
name: Node.js ${{ matrix.node-version }} (Intel)
runs-on: macos-13
strategy:
fail-fast: false
matrix:
node-version:
- 20
- 18
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- name: Download build
uses: actions/download-artifact@v3
with:
name: binding-artifact-${{ matrix.node-version }}
path: build
- run: npm test
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"build": "npm run build:build && npm run build:move",
"build:build": "node-swift build",
"build:move": "rm -rf build && mkdir build && mv ./.build/release/aperture.framework ./build/aperture.framework && mv ./.build/release/NodeAPI.framework ./build/NodeAPI.framework",
"prepublish": "npm run build"
"prepack": "npm run build"
},
"files": [
"index.js",
Expand Down

0 comments on commit 3f3d9df

Please sign in to comment.