Skip to content

Commit

Permalink
ci: add build
Browse files Browse the repository at this point in the history
  • Loading branch information
nekowinston committed Dec 26, 2023
1 parent f224a12 commit 2c30efd
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build

on:
push:
branches: [main]
pull_request:

jobs:
main:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

- name: Setup Deno
uses: ./

- run: deno run -A ./bundle.ts

- name: Push changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
file_pattern: "dist/*"
commit_message: "chore: build action bundle"
commit_author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"

0 comments on commit 2c30efd

Please sign in to comment.