Skip to content

Chores: update maplibre-gl to v5, add unittest #1

Chores: update maplibre-gl to v5, add unittest

Chores: update maplibre-gl to v5, add unittest #1

Workflow file for this run

name: test
on:
pull_request:
branches:
- master
paths:
- 'src/**'
- 'example/**'
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: setup node
uses: actions/setup-node@v1
with:
node-version: '22.x'
- name: install pnpm
run: npm install -g pnpm
- name: install
run: pnpm install
- name: build
run: pnpm build:pkg
- name: unittest
run: pnpm test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}