chore: revert lerna to 4 #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Publish a built Javascript Branch' | |
on: | |
push: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build Javascript | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: yarn | |
- name: Build modules | |
run: yarn && yarn build:dist --network-timeout 1000000 | |
- name: Publish branch | |
run: | | |
cd build-dist | |
git config --global user.email "[email protected]" | |
git config --global user.name "CI" | |
git init -b main | |
git add -A | |
git commit -m 'Auto-build Javascript files' | |
git push -f https://ulixee:${{ env.GH_TOKEN }}@github.com/ulixee/shared.git main:${{ github.ref_name }}-built-js | |
shell: bash | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |