Skip to content

fix(deps): bump @mapbox/vector-tile from 1.3.1 to 2.0.1 #21

fix(deps): bump @mapbox/vector-tile from 1.3.1 to 2.0.1

fix(deps): bump @mapbox/vector-tile from 1.3.1 to 2.0.1 #21

Workflow file for this run

name: Continuous Integration
on:
pull_request:
branches:
- main
jobs:
prettier_check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: '${{ github.head_ref }}'
persist-credentials: false
- name: Check code formatting
run: |
changed_files=$(git diff --name-only HEAD^)
for file in $changed_files; do
if [[ $file == *.js || $file == *.md ]]; then
prettier_check=$(npx prettier --check $file)
if [[ $? -ne 0 ]]; then
echo "Code formatting required for $file"
exit 1
fi
fi
done