From 4d437d0a9fc23794bb742095f9f55e5334fdf8b6 Mon Sep 17 00:00:00 2001 From: Daniel Hritzkiv Date: Mon, 28 Oct 2024 01:43:20 -0400 Subject: [PATCH] Revert "Skip install script when running `npm ci` in workflow" This reverts commit b3c9fbae658e47db49415691bb20a9f9fc73213c. --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1a9b082f..87577fe7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: run: sudo apt-get install -y build-essential libgl1-mesa-dri libglapi-mesa libglew-dev libglu1-mesa-dev libosmesa6 libxi-dev mesa-utils pkg-config - - run: npm ci --ignore-scripts + - run: npm ci - run: npm run build --if-present - if: runner.os == 'Linux' run: xvfb-run npm test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8505909e..fde8fe97 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: run: sudo apt-get install -y build-essential libgl1-mesa-dri libglapi-mesa libglew-dev libglu1-mesa-dev libosmesa6 libxi-dev mesa-utils pkg-config - - run: npm ci --ignore-scripts + - run: npm ci - name: Prebuild and Publish shell: bash run: node ./node_modules/prebuild/bin.js -t ${{ matrix.target }} --strip --include-regex "\.(node|dll)$" -u ${{ secrets.GITHUB_TOKEN }} --verbose @@ -59,7 +59,7 @@ jobs: node-version: '22.x' registry-url: 'https://registry.npmjs.org' cache: 'npm' - - run: npm ci --ignore-scripts + - run: npm ci - run: npm publish --provenance --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}