File tree Expand file tree Collapse file tree 4 files changed +43
-175
lines changed
Expand file tree Collapse file tree 4 files changed +43
-175
lines changed Original file line number Diff line number Diff line change 1- # name: Release
2- # on:
3- # push:
4- # branches:
5- # - main
6- # - beta
1+ name : Release
2+ on :
3+ push :
4+ branches :
5+ - main
6+ - beta
77
8- # permissions:
9- # packages: write
10- # contents: write
11- # issues: write
12- # pull-requests: write
13- # id-token: write
14- # actions: write
8+ permissions :
9+ packages : write
10+ contents : write
11+ issues : write
12+ pull-requests : write
13+ id-token : write
14+ actions : write
1515
16- # jobs:
17- # release:
18- # name: Release
19- # runs-on: ubuntu-latest
20- # steps:
21- # - name: Checkout
22- # uses: actions/checkout@v3
23- # with:
24- # fetch-depth: 0
25- # persist-credentials: true
26- # - name: Setup Node.js
27- # uses: actions/setup-node@v4
28- # with:
29- # node-version: latest
30- # - name: Install dependencies
31- # run: yarn install
32- # - name: Build package
33- # run: yarn lib:build
34- # - name: Release
35- # env:
36- # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37- # GITHUB_NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38- # GITHUB_NPM_CONFIG_REGISTRY: https://npm.pkg.github.com/
39- # DEVHUB_NPM_TOKEN: ${{ secrets.DEVHUB_CLOUD_TOKEN }}
40- # DEVHUB_NPM_CONFIG_REGISTRY: https://artifactory.devhub-cloud.cisco.com/artifactory/api/npm/outshift-npm/
41- # run: yarn semantic-release
16+ jobs :
17+ release :
18+ name : Release
19+ runs-on : ubuntu-latest
20+ steps :
21+ - name : Checkout
22+ uses : actions/checkout@v3
23+ with :
24+ fetch-depth : 0
25+ persist-credentials : true
26+ - name : Setup Node.js
27+ uses : actions/setup-node@v4
28+ with :
29+ node-version : latest
30+ - name : Install dependencies
31+ run : yarn install
32+ - name : Build package
33+ run : yarn lib:build
34+ - name : Release
35+ env :
36+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
37+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
38+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
39+ run : npx semantic-release@21.0.2
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -18,19 +18,12 @@ module.exports = {
1818 changelogFile : "CHANGELOG.md"
1919 }
2020 ] ,
21- // [
22- // "./plugins/release-plugin.js",
23- // {
24- // registries: {
25- // "github": {
26- // pkgRoot: "packages/open-ui-kit/dist"
27- // },
28- // "devhub": {
29- // pkgRoot: "packages/open-ui-kit/dist"
30- // }
31- // },
32- // }
33- // ],
21+ [
22+ "@semantic-release/npm" ,
23+ {
24+ "pkgRoot" : "packages/open-ui-kit/dist"
25+ }
26+ ] ,
3427 [
3528 "@semantic-release/github" ,
3629 {
You can’t perform that action at this time.
0 commit comments