File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change 7
7
runs-on : ubuntu-latest
8
8
steps :
9
9
- uses : actions/checkout@v2
10
- - name : Configure git
11
- run : |
12
- git config user.email "iam@jamesiv.es"
13
- git config user.name "James Ives"
10
+ with :
11
+ ref : dev
12
+
14
13
# Setup .npmrc file to publish to npm
15
14
- uses : actions/setup-node@v1
16
15
with :
17
- node-version : ' 10.x '
16
+ node-version : 12
18
17
registry-url : ' https://registry.npmjs.org'
18
+
19
+ - name : Configure git
20
+ run : |
21
+ git config user.email "iam@jamesiv.es"
22
+ git config user.name "James Ives"
23
+
19
24
- run : npm install
20
25
- run : npm run-script build
26
+ - run : npm version patch -m "Release %s"
21
27
- run : npm ci
22
28
# Publish to npm
23
29
- run : npm publish --access public
24
30
env :
25
31
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
32
+
26
33
# Setup .npmrc file to publish to GitHub Packages
27
34
- uses : actions/setup-node@v1
28
35
with :
36
+ node-version : 12
29
37
registry-url : ' https://npm.pkg.github.com'
30
38
scope : ' @JamesIves'
39
+
31
40
# Publish to GitHub Packages
32
41
- run : npm publish
33
42
env :
You can’t perform that action at this time.
0 commit comments