Merge pull request #477 from eliasbenb/feature/github-actions-build-workflow

GitHub Actions Build Workflow
This commit is contained in:
MathieuG-P
2024-05-18 20:29:50 +02:00
committed by GitHub
+34
View File
@@ -0,0 +1,34 @@
# This workflow will...
name: Build
on:
push:
branches: ["master"]
workflow_dispatch:
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: "npm"
- run: npm ci
- run: npm run package
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: release
path: release