From 885aba31f9edb57f24af6c95b19339e99aa35013 Mon Sep 17 00:00:00 2001 From: Guy Ben-Aharon Date: Fri, 23 Aug 2024 23:17:04 +0300 Subject: [PATCH] build workflow --- .github/workflows/build-chartdb.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/build-chartdb.yaml diff --git a/.github/workflows/build-chartdb.yaml b/.github/workflows/build-chartdb.yaml new file mode 100644 index 00000000..bc35e73e --- /dev/null +++ b/.github/workflows/build-chartdb.yaml @@ -0,0 +1,27 @@ +name: build-client + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + env: + working-directory: ./ + permissions: write-all + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js 18.x + uses: actions/setup-node@v4 + with: + node-version: 22.x + cache: 'npm' + cache-dependency-path: './package-lock.json' + - name: Install + run: npm ci + - name: Build client + run: npm run build