From b0880c07272b5dbc3bd2a07d62f72d54e3e1371d Mon Sep 17 00:00:00 2001 From: Javier R Date: Sun, 27 Aug 2023 13:30:21 +0200 Subject: [PATCH] add: `aot` build setup --- .github/workflows/main.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d893727..b0d7e62 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,5 +1,9 @@ name: Deploy -on: [push] +on: + push: + branches: [main] + pull_request: + branches: main jobs: deploy: @@ -12,6 +16,15 @@ jobs: steps: - name: Clone repository uses: actions/checkout@v3 + + - name: Install Deno + uses: denoland/setup-deno@v1 + with: + deno-version: v1.x + + - name: Build step + run: "deno task build" + - name: Upload to Deno Deploy uses: denoland/deployctl@v1 with: