File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,22 +2,9 @@ name: publish
22on :
33 push :
44 tags :
5- - ' v[0-9]+.[0-9]+.[0-9]+*'
5+ - ' v[0-9]+.[0-9]+.[0-9]+*.react '
66jobs :
7- types :
8- runs-on : ubuntu-latest
9- steps :
10- - uses : actions/checkout@v2
11- - uses : actions/setup-node@v1
12- with :
13- node-version : 16
14- registry-url : ' https://registry.npmjs.org'
15- - run : npm install --save-dev
16- - run : npm publish --workspace packages/google-analytics-embed-types
17- env :
18- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
197 reactlib :
20- needs : [types]
218 runs-on : ubuntu-latest
229 steps :
2310 - uses : actions/checkout@v2
Original file line number Diff line number Diff line change 1+ name : publish
2+ on :
3+ push :
4+ tags :
5+ - ' v[0-9]+.[0-9]+.[0-9]+*.types'
6+ jobs :
7+ types :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v2
11+ - uses : actions/setup-node@v1
12+ with :
13+ node-version : 16
14+ registry-url : ' https://registry.npmjs.org'
15+ - run : npm install --save-dev
16+ - run : npm publish --workspace packages/google-analytics-embed-types
17+ env :
18+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change @@ -20,3 +20,10 @@ backend authentication.
2020the frontend authentication.
2121
2222Please check the whether both examples working before submitting a PR.
23+
24+ ## Releases
25+
26+ When you are releasing a new version, NPM packages are automatically
27+ updating according to your release tag. As an example, if you released a
28+ tag ` v0.0.2.react ` github will automatically publish the react library
29+ to NPM.
You can’t perform that action at this time.
0 commit comments