File tree Expand file tree Collapse file tree 2 files changed +35
-28
lines changed Expand file tree Collapse file tree 2 files changed +35
-28
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will do a clean installation of node dependencies, cache/restore them,
2
+ # build the source code and run tests. It was created by using the following workflow
3
+ # as a template.
4
+ #
5
+ # https://pnpm.io/next/continuous-integration#github-actions
6
+
7
+ name : Build and test TypeScript SDK CI
8
+
9
+ on :
10
+ push :
11
+ branches : [main]
12
+ pull_request :
13
+ branches : [main]
14
+
15
+ jobs :
16
+ main :
17
+ runs-on : ubuntu-latest
18
+ strategy :
19
+ matrix :
20
+ node-version : [18.x]
21
+ steps :
22
+ - uses : actions/checkout@v3
23
+ - uses : pnpm/action-setup@v2
24
+ with :
25
+ version : 8
26
+ - name : Setting up Node.js ${{ matrix.node-version }}
27
+ uses : actions/setup-node@v3
28
+ with :
29
+ node-version : ${{ matrix.node-version }}
30
+ cache : ' pnpm'
31
+ - name : Enabling pre-post scripts
32
+ run : pnpm config set enable-pre-post-scripts true
33
+ - run : pnpm install
34
+ - run : pnpm build
35
+ - run : pnpm test
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments