Merge pull request #208 from jonathan-irvin/ji/gh-action-build

add build gh-action
This commit is contained in:
Nevo David 2024-09-09 21:25:50 +07:00 committed by GitHub
commit 53c175f3d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 24 additions and 0 deletions

24
.github/workflows/build.yaml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Build
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.17.0']
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build