Skip to content

Merge pull request #64 from sbrij001/sbrij001-release-github-actions #7

Merge pull request #64 from sbrij001/sbrij001-release-github-actions

Merge pull request #64 from sbrij001/sbrij001-release-github-actions #7

Workflow file for this run

on:
push:
branches:
- master
name: Package
jobs:
check:
name: Package distribution file
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: master
- name: Package
run: |
npm ci
npm run test
- name: Commit
run: |
git config --global user.name "GitHub Actions"
git add dist/
git add node_modules/
git commit -m "chore: Update dist" || echo "No changes to commit"
git push origin HEAD:master