I have this git action setup where I want to run regression
only on folder1
and not folder2
.
name: Node.js CI
on:
push:
branches: [ develop ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
dir: ['./folder1', 'folder2']
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm ci
- name: Run regression tests
run: npm run regression
How can we achieve this?