Skip to content

Commit

Permalink
Merge pull request #18 from Stassi/feature/continuous-integration
Browse files Browse the repository at this point in the history
feature/continuous-integration
  • Loading branch information
Stassi authored Sep 18, 2024
2 parents 6a249ec + 1834337 commit 320a397
Show file tree
Hide file tree
Showing 4 changed files with 813 additions and 432 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Continuous integration

on:
pull_request:
branches: [ main ]
push:
branches: [ main, feature/** ]

jobs:
test:
name: Test
runs-on: ${{ matrix.os }}

strategy:
matrix:
node-version: [ 18.20.x, 20.17.x ]
os: [ macos-latest, ubuntu-latest, windows-latest ]

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

- name: Node.js setup ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
cache: 'npm'
node-version: ${{ matrix.node-version }}

- name: Dependencies installation
run: npm ci

- name: Test
run: npm test
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# leaf

[![Continuous integration](https://github.com/Stassi/leaf/actions/workflows/ci.yml/badge.svg)](https://github.com/Stassi/leaf/actions/workflows/ci.yml)

Leaflet adapter.
Loading

0 comments on commit 320a397

Please sign in to comment.