File tree 3 files changed +26
-14
lines changed
3 files changed +26
-14
lines changed Original file line number Diff line number Diff line change @@ -2,22 +2,9 @@ name: publish
2
2
on :
3
3
push :
4
4
tags :
5
- - ' v[0-9]+.[0-9]+.[0-9]+*'
5
+ - ' v[0-9]+.[0-9]+.[0-9]+*.react '
6
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 }}
19
7
reactlib :
20
- needs : [types]
21
8
runs-on : ubuntu-latest
22
9
steps :
23
10
- 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.
20
20
the frontend authentication.
21
21
22
22
Please 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