Update dependency mapbox-gl to v3.7.0 #1452
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Applications On Pull Request | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
node-version: [20, 18] | |
steps: | |
- name: Checkout to ${{ github.event.pull_request.head.ref }} | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
with: | |
fetch-depth: 0 | |
- name: Derive appropriate SHAs for base and head for `nx affected` commands | |
uses: nrwl/nx-set-shas@v4 | |
with: | |
main-branch-name: "master" | |
- name: Install pnpm v8 | |
uses: pnpm/[email protected] | |
with: | |
version: 8 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install | |
- name: Lint changed apps | |
run: pnpm nx affected --target=lint | |
- name: Check TypeScript definitions | |
run: pnpm nx affected --target=type-check | |
- name: Test changed apps | |
run: pnpm nx affected --target=test |