build workflow

This commit is contained in:
Guy Ben-Aharon
2024-08-23 23:17:04 +03:00
parent 6cf8ce9af3
commit 885aba31f9
+27
View File
@@ -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