File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and Test
2+ run-name : Testing out changes 🚀
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ jobs :
10+ build_and_test :
11+ runs-on : ubuntu-latest
12+
13+ strategy :
14+ matrix :
15+ node : [10, 12]
16+
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@v2
20+ - name : Use Node.js ${{ matrix.node-version }}
21+ uses : actions/setup-node@v1
22+ with :
23+ node-version : ${{ matrix.node-version }}
24+ - name : Install package
25+ run : npm install
26+ - name : Link step 1
27+ run : npm link
28+ - name : Link step 2
29+ run : cd testing-app
30+ - name : Link step 3
31+ run : npm link @ryfylke-react/rtk-query-loader
32+ - name : Install testing-app
33+ run : npm install
34+ - name : Build the project
35+ run : npm run build --if-present
36+ - name : Run tests
37+ run : npm test
You can’t perform that action at this time.
0 commit comments