File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 12
12
publish :
13
13
runs-on : ubuntu-latest
14
14
15
+ defaults :
16
+ run :
17
+ working-directory : ' ./wormhole-connect'
18
+
15
19
steps :
16
20
- uses : actions/checkout@v3
17
21
with :
@@ -25,12 +29,11 @@ jobs:
25
29
- run : npm run lint:ci
26
30
- run : |
27
31
IFS='@' read -a strarr <<< $(git describe --tags)
28
- sed -i "s/\"version\": .*/\"version\": \"${strarr[1]}$(echo $([ ${strarr[0]} == "production" ] && echo "" || echo "-${strarr[0]}"))\",/" wormhole-connect/ package.json
32
+ sed -i "s/\"version\": .*/\"version\": \"${strarr[1]}$(echo $([ ${strarr[0]} == "production" ] && echo "" || echo "-${strarr[0]}"))\",/" package.json
29
33
npm run build:lib
30
34
npm run build:hosted
31
- cp README.md wormhole-connect/
32
- cp wormhole-connect.png wormhole-connect/
33
- cd wormhole-connect
35
+ cp ../README.md .
36
+ cp ../wormhole-connect.png .
34
37
npm publish --tag $(echo $([ ${strarr[0]} == "production" ] && echo "latest" || echo ${strarr[0]})) --access public
35
38
env:
36
39
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments