Skip to content

Commit

Permalink
Build app on push
Browse files Browse the repository at this point in the history
  • Loading branch information
Emaro committed Feb 9, 2024
1 parent 1f1e213 commit ee77fd6
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ on:

jobs:
build-lib:

runs-on: ubuntu-latest

defaults:
Expand All @@ -33,3 +32,27 @@ jobs:
cache-dependency-path: lib/package-lock.json
- run: npm ci
- run: npm run build --if-present

build-app:
runs-on: ubuntu-latest

defaults:
run:
working-directory: ./app

strategy:
matrix:
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: app/package-lock.json
- run: npm ci
- run: npm start

0 comments on commit ee77fd6

Please sign in to comment.