File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release GitHub
2+
3+ on :
4+ push :
5+ branches : [release/*]
6+
7+ jobs :
8+ create-github-release :
9+ name : Create GitHub Release and Git tag
10+ runs-on : ubuntu-latest
11+ environment : Release
12+ permissions :
13+ contents : write
14+ steps :
15+ - uses : actions/checkout@v3
16+ -
uses :
cucumber/[email protected] 17+ with :
18+ github-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : Release NPM
2+
3+ on :
4+ push :
5+ branches : [release/*]
6+
7+ jobs :
8+ publish-npm :
9+ name : Publish NPM module
10+ runs-on : ubuntu-latest
11+ environment : Release
12+ steps :
13+ - uses : actions/checkout@v3
14+ - uses : actions/setup-node@v3
15+ with :
16+ node-version : ' 22.x'
17+ cache : ' npm'
18+ cache-dependency-path : package-lock.json
19+ - run : npm ci
20+ - run : npm run build
21+ -
uses :
cucumber/[email protected] 22+ with :
23+ npm-token : ${{ secrets.NPM_TOKEN }}
24+ npm-tag : ' latest'
You can’t perform that action at this time.
0 commit comments