Skip to content

feat(workflow): add release mechanism #4

feat(workflow): add release mechanism

feat(workflow): add release mechanism #4

Workflow file for this run

name: Report CI workflow
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use nodejs
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install deps
run: npm ci
- name: Lint and format
run: |
npm run lint
npm run format
- name: Build
run: npm run build
- name: Commit compiled JS code
run: |
git config --local user.name 'github-actions[bot]'
git config --local user.email 'github-actions[bot]@users.noreply.github.com'
git add dist
git commit -m "[bot] compiled JS and updated dist"
git push