Skip to content

Commit

Permalink
Add update dist workflow
Browse files Browse the repository at this point in the history
- Fixes #9
  • Loading branch information
jvalkeal committed Mar 22, 2024
1 parent f458aa8 commit 4eae7a2
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/update-dist.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Update Dist

on:
workflow_dispatch:

permissions:
contents: write

jobs:
update-dist:
name: Update Dist
runs-on: ubuntu-latest

steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4

- name: Setup Node.js
id: setup-node
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: npm

- name: Install Dependencies
run: npm ci

- name: Run
run: npm run bundle

- name: Push Changes
run: |
git config --global user.name github-actions[bot]
git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com
git commit -a -m "Update dist"
git push

0 comments on commit 4eae7a2

Please sign in to comment.