Skip to content

chore: upgrade minimatch transitive npm dependency #1283

chore: upgrade minimatch transitive npm dependency

chore: upgrade minimatch transitive npm dependency #1283

Workflow file for this run

name: CI
on:
workflow_call:
schedule:
- cron: "0 7 * * 1"
push:
branches:
- '*'
- '!main'
- '!beta'
- '!alpha'
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
permissions:
contents: read
jobs:
lint:
timeout-minutes: 10
runs-on: ubuntu-24.04
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v6.0.2
with:
submodules: recursive
- name: Prepare build environemnt
id: prepare
uses: ./.github/actions/prepare-build-env
- name: Run cargo clippy
run: |
cargo clippy --tests -- --deny "warnings"
- name: Post build environemnt
if: always()
uses: ./.github/actions/post-build-env
with:
cargo-cache-primary-key: ${{ steps.prepare.outputs.cargo-cache-primary-key }}
cargo-cache-hit: ${{ steps.prepare.outputs.cargo-cache-hit }}
build_native:
timeout-minutes: 10
runs-on: ubuntu-24.04
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v6.0.2
with:
submodules: recursive
- name: Prepare build environemnt
id: prepare
uses: ./.github/actions/prepare-build-env
- name: Run cargo build
run: |
cargo build --features protoc-generated
if [ -n "$(git status --porcelain src/generated/vector_tile.rs)" ]; then
echo "Error: src/generated/vector_tile.rs is not up to date. Please run 'cargo build --features protoc-generated' and commit the changes.";
exit 1;
fi
- name: Post build environemnt
if: always()
uses: ./.github/actions/post-build-env
with:
cargo-cache-primary-key: ${{ steps.prepare.outputs.cargo-cache-primary-key }}
cargo-cache-hit: ${{ steps.prepare.outputs.cargo-cache-hit }}
build_wasm:
timeout-minutes: 10
runs-on: ubuntu-24.04
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v6.0.2
with:
submodules: recursive
- name: Prepare build environemnt
id: prepare
uses: ./.github/actions/prepare-build-env
- name: Run wasm-pack build
run: |
wasm-pack build --release --target web -- --features wasm
wasm-pack build --release --target nodejs -d pkg/node -- --features wasm
- name: Upload wasm-pack build output
uses: actions/upload-artifact@v7.0.0
with:
name: wasm-pack-build
path: pkg
- name: Post build environemnt
if: always()
uses: ./.github/actions/post-build-env
with:
cargo-cache-primary-key: ${{ steps.prepare.outputs.cargo-cache-primary-key }}
cargo-cache-hit: ${{ steps.prepare.outputs.cargo-cache-hit }}
test_native:
timeout-minutes: 10
runs-on: ubuntu-24.04
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v6.0.2
with:
submodules: recursive
- name: Prepare build environemnt
id: prepare
uses: ./.github/actions/prepare-build-env
- name: Run cargo test
run: |
cargo test -- --nocapture
- name: Post build environemnt
if: always()
uses: ./.github/actions/post-build-env
with:
cargo-cache-primary-key: ${{ steps.prepare.outputs.cargo-cache-primary-key }}
cargo-cache-hit: ${{ steps.prepare.outputs.cargo-cache-hit }}
test_wasm:
needs: build_wasm
timeout-minutes: 10
runs-on: ubuntu-24.04
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v6.0.2
with:
submodules: recursive
- name: Download wasm-pack build output
uses: actions/download-artifact@v8.0.0
with:
name: wasm-pack-build
path: pkg
- name: Setup node
uses: actions/setup-node@v6.2.0
with:
node-version: "lts/*"
- name: Run jest test
run: |
npm ci
npm test