Skip to content

Merge branch 'main' of github.com:getcodelimit/codelimit-action #8

Merge branch 'main' of github.com:getcodelimit/codelimit-action

Merge branch 'main' of github.com:getcodelimit/codelimit-action #8

Workflow file for this run

name: 'main'
on:
push:
branches:
- main
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: 'Checkout sources'
uses: actions/checkout@v3
- name: 'Setup NodeJS'
uses: actions/setup-node@v3
with:
node-version: '20.x'
- name: 'Install dependencies'
run: yarn install
- name: 'Build distribution'
run: yarn dist
- name: 'Commit GitHub Action distribution'
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add dist/index.js
git commit -m ":construction_worker: Build by GitHub Actions" || true
if: job.status == 'success'
- name: 'Push changes'
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
force: true