File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -3,18 +3,19 @@ name: "Publish Dev 📦"
3
3
on :
4
4
push :
5
5
branches :
6
- - main
6
+ - dev
7
7
8
8
jobs :
9
9
build :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : actions/checkout@v2
13
- - uses : actions/setup-node@v2
12
+ - uses : actions/checkout@v3
13
+ - uses : actions/setup-node@v3
14
14
with :
15
15
node-version : " 18.13.0"
16
16
registry-url : " https://registry.npmjs.org"
17
17
- run : npm install
18
+ - run : npm run test
18
19
- run : npm run build
19
20
- run : npm publish --tag dev --access public
20
21
env :
Original file line number Diff line number Diff line change 9
9
build :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : actions/checkout@v2
13
- - uses : actions/setup-node@v2
12
+ - uses : actions/checkout@v3
13
+ - uses : actions/setup-node@v3
14
14
with :
15
15
node-version : " 18.13.0"
16
16
registry-url : " https://registry.npmjs.org"
17
17
- run : npm install
18
+ - run : npm run test
18
19
- run : npm run build
19
20
- run : npm publish
20
21
env :
You can’t perform that action at this time.
0 commit comments