Skip to content

[#3] deeplyCopy 구현 #18

[#3] deeplyCopy 구현

[#3] deeplyCopy 구현 #18

name: Run Jest Tests on Pull Request
on:
# Triggers the workflow on pull request events but only for the "feature/*" branch
pull_request:
branches: ["main"]
paths-ignore: # Ensure this is also considered to ignore certain paths if needed
- '!feature/1' # Exclude the specific branch
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test:
if: github.head_ref != 'feature/1' # Condition to exclude the branch
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "20"
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install
- name: Run Jest tests
run: pnpm test -- --coverage