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 : Tests
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ jobs :
9+ tests :
10+ runs-on : ubuntu-latest
11+
12+ strategy :
13+ fail-fast : true
14+ matrix :
15+ node-version : [16.x, 18.x]
16+
17+ name : Tests - Node ${{ matrix.node-version }}
18+
19+ steps :
20+ - name : Configure git for private modules
21+ env :
22+ GIT_AUTH_TOKEN : ${{ secrets.BOT_REPO_TOKEN }}
23+ run : git config --global url."https://speakeasybot:${GIT_AUTH_TOKEN}@github.com".insteadOf "https://github.com"
24+
25+ - name : Checkout the code
26+ uses : actions/checkout@v3
27+
28+ - name : Use Node.js ${{ matrix.node-version }}
29+ uses : actions/setup-node@v3
30+ with :
31+ node-version : ${{ matrix.node-version }}
32+
33+ - name : Install packages
34+ run : yarn install --frozen-lockfile
35+
36+ - name : Run tests
37+ run : yarn test
You can’t perform that action at this time.
0 commit comments