Skip to content

Tong/new changes

Tong/new changes #18

Workflow file for this run

name: Verify PR
on:
pull_request:
branches: [main] # or your default branch
jobs:
verify:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22.3.0'
- name: Install dependencies
run: npm install
- name: Lint affected
run: npx nx affected --target=lint --base=origin/main
- name: Test affected
run: npx nx affected --target=test --base=origin/main
- name: Build affected
run: npx nx affected --target=build --base=origin/main