Skip to content

feat(WrappedPlayer:gamemode): use native api #35

feat(WrappedPlayer:gamemode): use native api

feat(WrappedPlayer:gamemode): use native api #35

Workflow file for this run

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