Add build process and cleanup old distro files

This commit is contained in:
Corey Butler 2023-03-30 21:47:11 -05:00
parent 80d7827f03
commit b85cff6798
No known key found for this signature in database
GPG Key ID: 2C6540ABFD72766C
3 changed files with 31 additions and 21400 deletions

30
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,30 @@
name: Create Tag
on:
push:
branches:
- ${{ github.ref }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Dependencies
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
run: npm install
- name: Build
uses: npm run prepare
- name: Commit Build Artifacts
run: |
git config --global user.email "actions@github.com"
git config --global user.name "GitHub Actions"
git add .
git commit -m "Build distribution files"
git push

1
.gitignore vendored
View File

@ -8,3 +8,4 @@ logs
_* _*
node_modules node_modules
!./src/node_modules !./src/node_modules
dist

21400
dist/main.js vendored

File diff suppressed because one or more lines are too long