File tree Expand file tree Collapse file tree 2 files changed +58
-0
lines changed
Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Original file line number Diff line number Diff line change 1+ name : publish
2+
3+ on :
4+ push :
5+ tags : [ "v[0-9]+.[0-9]+.[0-9]+" ]
6+
7+ jobs :
8+
9+ publish :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v4
13+
14+ - uses : actions/setup-node@v4
15+ with :
16+ node-version : " 20"
17+ cache : npm
18+ registry-url : " https://registry.npmjs.org"
19+
20+ - run : npm ci
21+ - run : npm run build
22+ - run : npm test
23+
24+ - uses : actions/upload-artifact@v4
25+ with :
26+ name : react-executor-devtools-${{ github.ref_name }}
27+ path : build
28+
29+ - name : Create release draft
30+ run : gh release create ${{ github.ref_name }} --generate-notes --draft
31+ env :
32+ GH_TOKEN : ${{ github.token }}
Original file line number Diff line number Diff line change 1+ name : test
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ paths-ignore :
7+ - ' README.md'
8+
9+ pull_request :
10+ branches : [ master ]
11+ paths-ignore :
12+ - ' README.md'
13+
14+ jobs :
15+
16+ test :
17+ runs-on : ubuntu-latest
18+ steps :
19+ - uses : actions/checkout@v4
20+ - uses : actions/setup-node@v4
21+ with :
22+ node-version : " 20"
23+ cache : npm
24+ - run : npm ci
25+ - run : npm run build
26+ - run : npm test
You can’t perform that action at this time.
0 commit comments