Skip to content

ci: Shared node/pnpm action #182

ci: Shared node/pnpm action

ci: Shared node/pnpm action #182

Workflow file for this run

name: pr
on:
pull_request:
paths-ignore:
- 'docs/**'
- 'media/**'
- '**/*.md'
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Tools
uses: tanstack/config/.github/setup@main
- name: Get base and head commits for `nx affected`
uses: nrwl/nx-set-shas@v4
with:
main-branch-name: main
- name: Run Checks
run: pnpm run test:pr