Skip to content

Commit

Permalink
ci: add build workflow (#261)
Browse files Browse the repository at this point in the history
Co-authored-by: Ulises Gascón <[email protected]>
  • Loading branch information
jozefizso and UlisesGascon authored Jan 7, 2025
1 parent 37a152d commit 846d589
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: build
on:
push:
pull_request:
branches: [ main ]

jobs:
test:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
node-version: [ 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23 ]

name: node v${{ matrix.node-version }} build

steps:
- name: checkout
uses: actions/checkout@v4

- name: setup node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: npm ci
run: npm ci

- name: npm test
run: npm test

0 comments on commit 846d589

Please sign in to comment.