mirror of
https://github.com/chartdb/chartdb.git
synced 2026-05-24 23:19:05 -05:00
build workflow
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user