From 4c9f6916398f36fe819f25704b3d4607e59b15c0 Mon Sep 17 00:00:00 2001 From: Andrea Cioni Date: Sun, 15 Oct 2023 00:18:37 +0200 Subject: [PATCH] update action --- .github/workflows/main.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2f5c4f5..97dfce8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,5 +11,15 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: 18 + - name: Install dependencies + run: | + cd webapp + npm install + npm run build && npm run move_to_static_dir + cd .. - uses: superfly/flyctl-actions/setup-flyctl@master - run: flyctl deploy --remote-only