fix(option-manager:PlayerOption): type errors #36
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: Bundle and Push | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 22 | |
- uses: pnpm/action-setup@v4 | |
with: | |
run_install: | | |
- recursive: false | |
- name: Clone dist branch | |
run: git clone -b dist https://github.com/${{ github.repository }} dist | |
- name: Bundle project | |
run: pnpm run build | |
- name: Commit | |
run: | | |
cd dist | |
git config --global user.name "github-actions[bot]" | |
git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
git add -A | |
git commit -m "chore: build" | |
- name: Push to dist branch | |
run: | | |
cd dist | |
git remote set-url origin https://PFiS1737:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} | |
git push origin dist |