Skip to content

Update README

Update README #13

Workflow file for this run

name: run-build
on:
push:
branches:
- main
jobs:
build-all:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: npm ic
- name: Run build
run: |
mkdir dist
npm run build
npm run build:csgo
- name: Configure git
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
git fetch --all
git checkout --track origin/build
- name: Copy files
run: cp -r ./dist/* ./
- name: Commit files
run: |
git add *.d.ts
git push
git commit -m "Automated build on ${{ github.ref }}"
git push origin build