Skip to content

build: Package action as dist with latest changes #11

build: Package action as dist with latest changes

build: Package action as dist with latest changes #11

name: "Package Action"
on:
push:
branches:
- "release"
jobs:
push-changes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
ssh-key: "${{ secrets.COMMIT_KEY }}"
- uses: actions/setup-node@v6
with:
node-version-file: "package.json"
- name: Install Javascript dependencies with npm
run: npm install
- name: Package action for distribution
run: npm run package
- name: Push packaged action to branch
uses: EndBug/add-and-commit@v7
with:
add: "dist --force"
default_author: github_actions
message: "build: Package action as `dist` with latest changes"