File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Test Reselect Codemods
2+
3+ on : [push, pull_request, workflow_dispatch]
4+
5+ defaults :
6+ run :
7+ working-directory : codemods
8+
9+ jobs :
10+ test :
11+ name : Run test Suite
12+ runs-on : ${{ matrix.os }}
13+
14+ strategy :
15+ fail-fast : false
16+ matrix :
17+ node : [18, 20, latest]
18+ os : [ubuntu-latest]
19+
20+ steps :
21+ - name : Checkout code
22+ uses : actions/checkout@v4
23+
24+ - name : Set up Node
25+ uses : actions/setup-node@v4
26+ with :
27+ node-version : ${{ matrix.node }}
28+ cache-dependency-path : ./codemods
29+ cache : ' yarn'
30+
31+ - name : Check folder contents
32+ run : ls -l .
33+
34+ - name : Install dependencies
35+ run : yarn install
36+
37+ - name : Lint Files
38+ run : yarn lint
39+
40+ - name : Check formatting
41+ run : yarn format:check
42+
43+ - name : Check for duplicate dependencies
44+ run : yarn dedupe --strategy highest --check
45+
46+ - name : Run test suite
47+ run : yarn test
You can’t perform that action at this time.
0 commit comments