File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+
7+ env :
8+ NPM_TOKEN : ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }}
9+ GH_TOKEN : ${{ secrets.SEMANTIC_RELEASE_GH_TOKEN }}
10+
11+ jobs :
12+ test :
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - uses : actions/checkout@v3
17+ - name : Node version
18+ id : engines
19+ run : echo "##[set-output name=NODE_VERSION;]$(cat .nvmrc)"
20+ - name : Use Node.js ${{ steps.engines.outputs.NODE_VERSION }}
21+ uses : actions/setup-node@v3
22+ with :
23+ node-version : ${{ steps.engines.outputs.NODE_VERSION }}
24+ - name : Install
25+ run : npm install
26+ - name : Lint
27+ run : npm run lint
28+ - name : Test
29+ run : npm run test
30+ - name : Build
31+ run : npm run build
32+ - name : Release
33+ run : npm run semantic-release
You can’t perform that action at this time.
0 commit comments