Skip to content

separated types from executable code and modifying the build.mjs file accordingly #181

separated types from executable code and modifying the build.mjs file accordingly

separated types from executable code and modifying the build.mjs file accordingly #181

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build
- run: |
if [ -e ./dist/neutralino.js ]; then echo "OK"; else echo "ERR"; exit 1; fi