From bd2c74be1e25cf23a6954dfc4c21639ffb89ce0e Mon Sep 17 00:00:00 2001 From: George Karagkiaouris Date: Sat, 16 Nov 2024 14:27:20 -0500 Subject: [PATCH] Fix workflows --- .github/workflows/release.yml | 5 ++--- package.json | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c6e3d1a..f2ce6c5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,6 @@ name: Build on: push: - pull_request: jobs: build-arm: @@ -14,7 +13,7 @@ jobs: with: node-version: '18' - name: Install dependencies - run: npm ci + run: npm install - name: Build arm artifact run: npm run build:module:arm - name: Upload arm artifact @@ -32,7 +31,7 @@ jobs: with: node-version: '18' - name: Install dependencies - run: npm ci + run: npm install - name: Build x86 artifact run: npm run build:module:x86 - name: Upload arm artifact diff --git a/package.json b/package.json index 96743d6..8fb8874 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ }, "scripts": { "test": "xo && ava && tsd", - "build": "npm run build:cli && npm run build:module", + "build": "npm run build:cli", "build:cli": "npm run build:cli:build && npm run build:cli:move", "build:cli:build": "swift build --configuration=release --product aperture --arch arm64 --arch x86_64", "build:cli:move": "mv .build/apple/Products/Release/aperture .",