Skip to content

Commit

Permalink
Add auto build script
Browse files Browse the repository at this point in the history
  • Loading branch information
HaveAGitGat committed Nov 15, 2023
1 parent d808b58 commit b839cd2
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/compile_and_push_typescript.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
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:
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

0 comments on commit b839cd2

Please sign in to comment.