Skip to content

Commit

Permalink
Add in GH Actions for verison bumping, and artifact uploading
Browse files Browse the repository at this point in the history
  • Loading branch information
RonanCodes committed Apr 29, 2024
1 parent d59a767 commit a0aa107
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,22 @@ jobs:
- name: Test
run: npm run ci:test

- name: Bump version and push tag
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
npm version patch -m "Bump version to %s [skip ci]"
git push origin --tags
- name: Build
run: npm run build:prod

- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: dist
path: dist/chuck-norris-joke-generator/browser

- name: Deploy
uses: JamesIves/[email protected]
with:
Expand Down

0 comments on commit a0aa107

Please sign in to comment.