File tree Expand file tree Collapse file tree 4 files changed +14833
-9298
lines changed
Expand file tree Collapse file tree 4 files changed +14833
-9298
lines changed Original file line number Diff line number Diff line change 1+ name : Release CI
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ jobs :
8+ release :
9+ name : Release
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout
13+ uses : actions/checkout@v4
14+ with :
15+ fetch-depth : 0
16+ - name : Setup Node.js
17+ uses : actions/setup-node@v4
18+ with :
19+ node-version-file : ' .nvmrc'
20+ - name : Install dependencies
21+ run : npm ci
22+ - name : Lint
23+ run : npm run lint
24+ - name : Test
25+ run : npm run test
26+ - name : Build
27+ run : npm run build
28+ - name : Coverage
29+ uses : codecov/codecov-action@v4
30+ - name : Release
31+ env :
32+ GITHUB_TOKEN : ${{ secrets.OPENEDX_SEMANTIC_RELEASE_GITHUB_TOKEN }}
33+ NPM_TOKEN : ${{ secrets.OPENEDX_SEMANTIC_RELEASE_NPM_TOKEN }}
34+ run : npx semantic-release@22
Original file line number Diff line number Diff line change 1+ {
2+ "branches": [
3+ "master"
4+ ],
5+ "plugins": [
6+ "@semantic-release/commit-analyzer",
7+ "@semantic-release/release-notes-generator",
8+ "@semantic-release/npm",
9+ "@semantic-release/github"
10+ ]
11+ }
12+
You can’t perform that action at this time.
0 commit comments