Skip to content

Commit

Permalink
Build lib on push
Browse files Browse the repository at this point in the history
  • Loading branch information
Emaro committed Feb 9, 2024
1 parent f8419cb commit 20e8676
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@ on:
branches: [ "main" ]

jobs:
build:
build-lib:

runs-on: ubuntu-latest

defaults:
run:
working-directory: ./lib

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
Expand All @@ -28,4 +32,3 @@ jobs:
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test

0 comments on commit 20e8676

Please sign in to comment.