File tree Expand file tree Collapse file tree 3 files changed +41
-7
lines changed
Expand file tree Collapse file tree 3 files changed +41
-7
lines changed Original file line number Diff line number Diff line change 3838 --base experimental \
3939 --head "$SOURCE_BRANCH" \
4040 --title "🧪 $PR_TITLE" \
41- --body "This PR was automatically created from #$PR_NUMBER when the 'experimental' label was added.
42-
43- Original PR: #$PR_NUMBER" \
44- --label experimental
41+ --body "This PR was automatically created from #$PR_NUMBER when the 'experimental' label was added.
42+
43+ Merging this PR will trigger a experimental package release to the NPM registry.
44+ You will be able to install it with `npm install @redocly/cli@ experimental`.
Original file line number Diff line number Diff line change 1+ name : Experimental Release
2+
3+ on :
4+ push :
5+ branches :
6+ - experimental
7+
8+ jobs :
9+ release-experimental :
10+ runs-on : ubuntu-latest
11+ permissions :
12+ contents : read
13+ id-token : write
14+
15+ steps :
16+ - uses : actions/checkout@v4
17+
18+ - name : Setup Node.js
19+ uses : actions/setup-node@v3
20+ with :
21+ node-version : 20
22+ cache : ' npm'
23+
24+ - name : Install dependencies
25+ run : npm ci
26+
27+ - name : Build packages
28+ run : npm run compile
29+
30+ - name : Publish experimental packages
31+ env :
32+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
33+ run : |
34+ cd packages/core
35+ npm publish --tag experimental
36+ cd ../cli
37+ npm publish --tag experimental
Original file line number Diff line number Diff line change 1111 CI : true
1212 steps :
1313 - uses : actions/checkout@v3
14- with :
15- # check out full history
16- fetch-depth : 0
1714 - uses : actions/setup-node@v3
1815 with :
1916 node-version : 20
You can’t perform that action at this time.
0 commit comments