mirror of
https://github.com/ButlerLogic/action-autotag.git
synced 2024-11-21 15:51:06 +07:00
Add build process and cleanup old distro files
This commit is contained in:
parent
80d7827f03
commit
b85cff6798
30
.github/workflows/build.yml
vendored
Normal file
30
.github/workflows/build.yml
vendored
Normal 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
1
.gitignore
vendored
@ -8,3 +8,4 @@ logs
|
||||
_*
|
||||
node_modules
|
||||
!./src/node_modules
|
||||
dist
|
||||
|
21400
dist/main.js
vendored
21400
dist/main.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user