Skip to content

caching step: expand glob paths #71

caching step: expand glob paths

caching step: expand glob paths #71

name: Nx Cloud Workflow Validations
on:
pull_request:
push:
branches:
- main
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'
- name: install node_modules
run: yarn install --frozen-lockfile
- name: Validate workflows
run: |
chmod +x ./scripts/check-launch-templates.sh
./scripts/check-launch-templates.sh
- uses: nrwl/nx-set-shas@v4
- run: git branch --track main origin/main
if: ${{ github.event_name == 'pull_request' }}
- name: Run checks
run: |
yarn nx affected -t test