This commit is contained in:
origranot
2024-08-30 15:08:08 +03:00
committed by Guy Ben-Aharon
parent 633767fe88
commit be04ac2ff2
3 changed files with 28 additions and 27 deletions

View File

@@ -1,27 +0,0 @@
name: build-chartdb
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 22.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 chartdb
run: npm run build

27
.github/workflows/ci.yaml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: CI
on:
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 22.x
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Build
run: npm run build

1
.prettierignore Normal file
View File

@@ -0,0 +1 @@
**/*.yaml