From 30a5530e5f762079db384d59debb77414bfb35ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dni=20=E2=9A=A1?= Date: Thu, 21 Sep 2023 14:01:41 +0200 Subject: [PATCH] [FEAT] automatic build on deploy (#8) --- .github/workflows/static.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 09741b6..5e1d663 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -30,8 +30,14 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - - name: copy main assets - run: | + - name: Use Node.js + uses: actions/setup-node@v3 + with: + node-version: "16.x" + - name: Install dependencies + run: npm i + - name: Build + run: npm run build - name: Setup Pages uses: actions/configure-pages@v3 - name: Upload artifact