File tree 2 files changed +29
-33
lines changed 2 files changed +29
-33
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 9
9
release-please :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : google-github-actions/release-please-action@v3
12
+ - name : Run Release Please
13
+ uses : google-github-actions/release-please-action@v3
13
14
id : release
14
15
with :
15
16
release-type : node
16
17
package-name : react-dsv-import
18
+
19
+ - name : Checkout repo
20
+ uses : actions/checkout@v3
21
+ with :
22
+ fetch-depth : ' 0'
23
+ if : ${{ steps.release.outputs.release_created }}
24
+
25
+ - name : Configure node for npmjs.org as registry
26
+ uses : actions/setup-node@v3
27
+ with :
28
+ node-version : ' 16.x'
29
+ registry-url : ' https://registry.npmjs.org'
30
+ if : ${{ steps.release.outputs.release_created }}
31
+
32
+ - name : Install dependencies
33
+ run : npm ci
34
+ if : ${{ steps.release.outputs.release_created }}
35
+
36
+ - name : Build
37
+ run : npm run build
38
+ if : ${{ steps.release.outputs.release_created }}
39
+
40
+ - name : Publish package on npmjs.org
41
+ run : npm publish ./dist --access public
42
+ env :
43
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
44
+ if : ${{ steps.release.outputs.release_created }}
You can’t perform that action at this time.
0 commit comments