Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add basic ci with a simple build #27

Merged
1 commit merged into from
May 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: build

on:
push:
# enable next line to limit branches to run
# branches: [ "master" ]
pull_request:
# enable next line to limit branches to run
# branches: [ "master" ]

jobs:
build:
# this uses the VS2019, as VS2022 does not work, see:
# https://github.com/deepnest-io/Deepnest/issues/21#issuecomment-1534730830
runs-on: windows-2019

strategy:
matrix:
# enable further versions if supported/needed
node-version: [8.x] #, 14.x, 16.x, 18.x]

steps:
- uses: actions/checkout@v3
with:
submodules: recursive

# not needed currently, but leaving here for future use
# - uses: actions/setup-python@v4
# with:
# python-version: '2.7.18'

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Build
run: |
npm install
npm run w:build