File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Build and Test
3+
4+ on :
5+ workflow_dispatch :
6+ pull_request :
7+ push :
8+ branches :
9+ - main
10+ schedule :
11+ - cron : " 17 4 * * 1"
12+
13+ jobs :
14+ build-and-test :
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - name : Checkout repository
19+ uses : actions/checkout@v6
20+
21+ - name : Set up Node.js
22+ uses : actions/setup-node@v6
23+ with :
24+ node-version : 20
25+
26+ - name : Configure npm registry
27+ run : |
28+ npm config set @universal-robots:registry https://pkgs.dev.azure.com/polyscopex/api/_packaging/polyscopex/npm/registry/
29+ npm config set strict-ssl false
30+ - name : Install dependencies
31+ run : npm install
32+
33+ - name : Build project
34+ run : npm run build
35+
36+ - name : Upload artifacts
37+ uses : actions/upload-artifact@v5
38+ with :
39+ name : tool-comm-forwarder-urcapx
40+ path : target/tool-comm-forwarder-*.urcapx
41+ if-no-files-found : error
You can’t perform that action at this time.
0 commit comments