
* update to maplibre-gl-native 5.3.0-pre.0 * use ubuntu:jammy * use node 20 in docker image * update max node version to 20 * update docs to reflect new requirements * fix: update workflows to ubuntu-22.04 Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net> * chore: update to maplibre-gl-native 5.3.0 Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net> * chore: update version Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net> * docs: update OS/package information Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net> * fix: require node-addon-api ^7 Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net> * fix: update package-lock.json Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net> --------- Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
51 lines
1.4 KiB
YAML
51 lines
1.4 KiB
YAML
name: 'Continuous Integration'
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
permissions:
|
|
checks: write
|
|
contents: read
|
|
|
|
jobs:
|
|
ci:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Check out repository ✨ (non-dependabot)
|
|
if: ${{ github.actor != 'dependabot[bot]' }}
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Check out repository 🎉 (dependabot)
|
|
if: ${{ github.actor == 'dependabot[bot]' }}
|
|
uses: actions/checkout@v4
|
|
with:
|
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
|
|
- name: Setup node env 📦
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version-file: 'package.json'
|
|
check-latest: true
|
|
cache: 'npm'
|
|
|
|
- name: Install dependencies 🚀
|
|
run: npm ci --prefer-offline --no-audit --omit=optional
|
|
|
|
- name: Run linter(s) 💅
|
|
uses: wearerequired/lint-action@v2
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
continue_on_error: false
|
|
git_name: github-actions[bot]
|
|
git_email: github-actions[bot]@users.noreply.github.com
|
|
auto_fix: false
|
|
eslint: true
|
|
eslint_extensions: js,cjs,mjs,ts
|
|
prettier: true
|
|
prettier_extensions: js,cjs,ts,json
|
|
|
|
- name: Run hadolint 🐳
|
|
uses: hadolint/hadolint-action@v3.1.0
|
|
with:
|
|
dockerfile: Dockerfile
|
|
ignore: DL3008,DL3015
|