Skip to content

Node.js Build Windows #1

Node.js Build Windows

Node.js Build Windows #1

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
# This is copied from the mac action (that works) and replaced runs-on to be windows
# currently just testing to see if it works.
name: Node.js Build Windows
on:
workflow_dispatch:
inputs:
tags:
description: 'DOIT'
required: false
type: boolean
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'
cache: 'npm'
- name: Install env
run: npm run init
- name: Build Output
run: npm run build
- uses: actions/upload-artifact@v4
with:
name: hunterlog
path: dist