Add codemod to convert input selectors passed as separate inline arguments to a single array #74
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Reselect Codemods | |
on: [push, pull_request, workflow_dispatch] | |
defaults: | |
run: | |
working-directory: codemods | |
jobs: | |
test: | |
name: Run test Suite | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
node: [18, 20, latest] | |
os: [ubuntu-latest] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache-dependency-path: ./codemods | |
cache: 'yarn' | |
- name: Check folder contents | |
run: ls -l . | |
- name: Install dependencies | |
run: yarn install | |
- name: Lint Files | |
run: yarn lint | |
- name: Check formatting | |
run: yarn format:check | |
- name: Check for duplicate dependencies | |
run: yarn dedupe --strategy highest --check | |
- name: Run test suite | |
run: yarn test |