File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Run Sample Project Tests
2+
3+ on :
4+ pull_request :
5+ branches : [ "main" ]
6+ workflow_dispatch :
7+
8+ jobs :
9+ run-sample-project-tests :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v4
14+
15+ - name : Use Node.js 22
16+ uses : actions/setup-node@v4
17+ with :
18+ node-version : 22
19+ cache : ' npm'
20+ cache-dependency-path : ' **/package-lock.json'
21+
22+ - name : Install Aptos CLI
23+ run : |
24+ wget -q https://github.com/aptos-labs/aptos-core/releases/download/aptos-cli-v7.11.1/aptos-cli-7.11.1-Ubuntu-22.04-x86_64.zip
25+ unzip -q aptos-cli-7.11.1-Ubuntu-22.04-x86_64.zip
26+ chmod +x aptos
27+ echo "$(pwd)" >> $GITHUB_PATH
28+ ./aptos --version
29+
30+ - name : Build Forklift
31+ working-directory : packages/forklift
32+ run : |
33+ npm ci
34+ npm run build
35+
36+ - name : Run Sample Project Tests
37+ working-directory : packages/sample-project
38+ run : |
39+ npm ci
40+ npm test
You can’t perform that action at this time.
0 commit comments