From 6dee7a2bc5501d9cac4a0ff7ea3974952670cb54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20MARQUET?= Date: Sun, 25 Aug 2024 17:02:27 +0200 Subject: [PATCH] Add test build CI --- .github/workflows/deploy-test.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/deploy-test.yml diff --git a/.github/workflows/deploy-test.yml b/.github/workflows/deploy-test.yml new file mode 100644 index 0000000..3608f7a --- /dev/null +++ b/.github/workflows/deploy-test.yml @@ -0,0 +1,31 @@ +name: Deploy to server + +on: + push: + branches: + - main + - master + +jobs: + build-and-deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Use Node.js + uses: actions/setup-node@v2 + with: + node-version: '18' + + - name: Install dependencies + run: | + npm ci + + - name: Run build for production + run: | + npm run build +