Skip to content

Add auto build script #1

Add auto build script

Add auto build script #1

name: Compile and push typescript
on:
pull_request:
push:
branches:
- auto_build_test
jobs:
auto-build:
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository.
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-node@v3
with:

Check failure on line 23 in .github/workflows/compile_and_push_typescript.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/compile_and_push_typescript.yml

Invalid workflow file

You have an error in your yaml syntax on line 23
node-version: '18.x'
- run: npm i -g typescript && rm -rdf ./FlowPlugins && tsc
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Apply auto-build changes