Skip to content

Bump npm version -> 4.8.0 #6

Bump npm version -> 4.8.0

Bump npm version -> 4.8.0 #6

Workflow file for this run

name: Add native binaries to release
on:
push:
tags: ['*']
workflow_dispatch:
jobs:
prebuild:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macos-latest, windows-latest]
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Add msbuild to PATH
if: matrix.os == 'windows-latest'
uses: microsoft/[email protected]
- name: Install node-gyp
if: matrix.os == 'windows-latest'
run: |
npm install --global node-gyp@latest
- name: Build
run: |
npm install --ignore-scripts
- name: Prebuild
run: |
npm run prebuild
- name: Upload
run: |
npx prebuild --upload ${{ secrets.UPLOAD_TOKEN }}
env:
MAKEFLAGS: -j4
prebuild-alpine:
runs-on: ubuntu-latest
container: node:18-alpine3.19
steps:
- uses: actions/checkout@v4
- name: install build deps
run: |
apk add g++ make python3
- name: Build
run: |
npm install --ignore-scripts
- name: Prebuild
run: |
npm run prebuild
- name: Upload
run: |
npx prebuild --upload ${{ secrets.UPLOAD_TOKEN }}
env:
MAKEFLAGS: -j4