Skip to content

Merge pull request #166 from bitovi/refactor/TR-75-ts-tests-blocked-s… #26

Merge pull request #166 from bitovi/refactor/TR-75-ts-tests-blocked-s…

Merge pull request #166 from bitovi/refactor/TR-75-ts-tests-blocked-s… #26

Workflow file for this run

name: Feature Build
on:
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
Build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Run Build
run: |
npm ci
npm run build
- name: Commit `dist` Folder to `staging`
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
git add -f public/dist/
git commit --no-verify -m 'Build artifacts [skip ci]' || echo "No changes to commit"
git push --force origin HEAD:staging