Skip to content

fix(postinstall): correctly parse the prerelease object #207

fix(postinstall): correctly parse the prerelease object

fix(postinstall): correctly parse the prerelease object #207

Workflow file for this run

name: ci
on:
pull_request:
branches: [ main ]
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
test:
strategy:
matrix:
os: [macos-13, ubuntu-22.04, windows-2022]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v4.1.6
- name: Get Node version from Node manifest
run: echo "NODE_VER=$(curl -s https://nwjs.io/versions | jq -r ".versions[0].components.node")" >> $GITHUB_ENV
- name: Setup Node
uses: actions/setup-node@v4.0.2
with:
node-version: ${{ env.NODE_VER }}
cache: "npm"
- name: Enable corepack
run: corepack enable
- name: Install dependencies
run: npm ci --nwjs-build-type=sdk
- name: Run tests
run: npm t