File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish to npm
2+
3+ on :
4+ push :
5+ tags :
6+ - " *"
7+
8+ jobs :
9+ publish :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout code
14+ uses : actions/checkout@v3
15+ with :
16+ ref : " main" # Replace with your branch name
17+
18+ - name : Use Node.js
19+ uses : actions/setup-node@v3
20+ with :
21+ node-version-file : .nvmrc
22+
23+ - name : Install dependencies
24+ run : yarn --immutable
25+
26+ - name : Set up .npmrc file
27+ run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
28+
29+ - name : Publish to npm
30+ run : npx lerna publish from-package --no-private --yes
31+ env :
32+ NPM_TOKEN : ${{secrets.NPM_TOKEN}}
Original file line number Diff line number Diff line change 1+ 18
Original file line number Diff line number Diff line change 11{
22 "$schema" : " node_modules/lerna/schemas/lerna-schema.json" ,
33 "useWorkspaces" : true ,
4- "version" : " 0.2.0 "
4+ "version" : " independent "
55}
Original file line number Diff line number Diff line change 11{
22 "name" : " @bam.tech/eslint-plugin" ,
3- "version" : " 0.4.0 " ,
3+ "version" : " 0.4.2 " ,
44 "description" : " eslint plugin for bam projects" ,
55 "keywords" : [
66 " eslint" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " @bam.tech/typescript-config" ,
3- "version" : " 0.3.0 " ,
3+ "version" : " 0.3.1 " ,
44 "license" : " MIT" ,
55 "peerDependencies" : {
66 "expo" : " >=47"
You can’t perform that action at this time.
0 commit comments