Skip to content

fix: add support for Windows x86 #34

fix: add support for Windows x86

fix: add support for Windows x86 #34

Workflow file for this run

name: Automated deploy
on: [push, pull_request]
env:
VERSION: ${{ github.event.release.tag_name }}
TARGET_REF: ${{ github.event.release.target_commitish }}
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: windows-2019
node_arch: x86
command: build:gyp
- os: windows-2019
node_arch: x64
command: build:gyp
steps:
- uses: actions/checkout@v4
with:
ref: ${{ env.TARGET_REF }}
token: ${{ secrets.GPR_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: 20
architecture: ${{ matrix.node_arch }}
- name: Install dependencies
run: npm ci
- name: Prebuild package
run: npm run ${{ matrix.command }} -- ${{ matrix.args }}