Skip to content

add github action to automatically create the dist/oldm.mjs bundle #3

add github action to automatically create the dist/oldm.mjs bundle

add github action to automatically create the dist/oldm.mjs bundle #3

Workflow file for this run

---
name: Run esbuild bundle
on:
- pull_request
# Allow manually triggering the workflow.
- workflow_dispatch
# Cancels all previous workflow runs for the same branch that have not yet completed.
concurrency:
# The concurrency group contains the workflow name and the branch name.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- run: npm install
- run: npm run build
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: auto create bundle
file_pattern: 'dist/*'