Pruned node modules

tweaking workflow
This commit is contained in:
Drew Heavner
2019-12-04 10:28:59 -05:00
parent c328f3aa5c
commit fc9e3b4597
7302 changed files with 16 additions and 1659266 deletions

View File

@@ -11,20 +11,25 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Configure Git
run: |
git config --global user.email "veedubusc@gmail.com"
git config --global user.name "Drew Heavner"
- name: Build Action
run: |
npm ci
npm run build
git add -A .
- name: Commit changes
with: gha-utilities/workspace-commit@v0.0.2
message: Updated build files
all: true
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: master
- name: Update v1 Tag
run: |
npm prune --production
git add .
git commit -m "Pruning Node Modules, Preparing for release"
git tag -fa v1 -m "Update v1 tag"
git push origin --force --tags
uses: hole19/git-tag-action@master
env:
TAG: v1
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}