Skip to content

Commit

Permalink
Updated Github workflow to build, prune, recommit, and update tag
Browse files Browse the repository at this point in the history
  • Loading branch information
r0adkll committed Dec 4, 2019
1 parent a29f8cd commit 4248af0
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 17 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "Tag & Deploy Action"

on:
push:
branches:
- master

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

- name: Build Action
run: |
npm ci
npm run build
- name: Update v1 Tag
run: |
npm prune --production
git commit -m "Pruning Node Modules, Preparing for release"
git tag -fa v1 -m "Update v1 tag"
git push origin --force --tags
17 changes: 0 additions & 17 deletions .github/workflows/test.yml

This file was deleted.

0 comments on commit 4248af0

Please sign in to comment.