Skip to content

changelog, version bump #735

changelog, version bump

changelog, version bump #735

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
name: Warcraft Recorder CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node JS
uses: actions/setup-node@v3
with:
node-version: '20.4.0'
cache: 'npm'
- name: Install deps
run: npm install
- name: Build the exe
run: npm run package
- name: Run unit tests
run: npm test
- name: Rename exe to be unique
run: mv ./release/build/WarcraftRecorder*.exe ./release/build/WarcraftRecorder-$env:GITHUB_RUN_ID.exe
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: WarcraftRecorder
path: release/build/WarcraftRecorder*.exe