File tree 4 files changed +17
-7
lines changed
4 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 45
45
path : test1
46
46
47
47
- name : prep etherpad >> test1
48
- run : cd test1/src && pnpm i
48
+ run : cd test1 && pnpm i
49
+ - name : Copy settings json for Dirty db to be active
50
+ run : cp test1/settings.json.template test1/settings.json
49
51
50
52
- name : start etherpad >> test1
51
53
run : cd test1 && pnpm run prod > test1log.txt &
Original file line number Diff line number Diff line change 46
46
path : test1
47
47
48
48
- name : prep etherpad >> test1
49
- run : cd test1/src && pnpm i
49
+ run : cd test1 && pnpm i
50
+
51
+ - name : Copy settings json for Dirty db to be active
52
+ run : cp test1/settings.json.template test1/settings.json
50
53
51
54
- name : start etherpad >> test1
52
55
run : cd test1 && pnpm run prod &
62
65
run : sed 's/9001/9002/g' test2/settings.json.template > test2/settings.json
63
66
64
67
- name : prep etherpad >> test2
65
- run : cd test2/src && pnpm i
68
+ run : cd test2 && pnpm i
66
69
67
70
- name : start etherpad >> test2
68
71
run : cd test2 && pnpm run prod &
78
81
run : sed 's/9001/9003/g' test2/settings.json.template > test3/settings.json
79
82
80
83
- name : prep etherpad >> test3
81
- run : cd test3/src && pnpm i
84
+ run : cd test3 && pnpm i
82
85
83
86
- name : start etherpad >> test3
84
87
run : cd test3 && pnpm run prod &
Original file line number Diff line number Diff line change 75
75
git push --follow-tags
76
76
# This is required if the package has a prepare script that uses something
77
77
# in dependencies or devDependencies.
78
+ # Workaround based on https://github.com/pnpm/pnpm/issues/3141
79
+ - name : Set publishing config
80
+ run : pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
81
+ env :
82
+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
78
83
-
79
84
run : pnpm i
80
85
# `npm publish` must come after `git push` otherwise there is a race
89
94
# the second's will succeed.
90
95
-
91
96
run : pnpm publish
92
- env :
93
- NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
94
97
-
95
98
name : Add package to etherpad organization
96
- run : pnpm access grant read-write etherpad:developers
99
+ run : npm access grant read-write etherpad:developers
97
100
env :
98
101
NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
Original file line number Diff line number Diff line change 47
47
48
48
- name : prep etherpad >> test1
49
49
run : cd test1 && pnpm i
50
+ - name : Copy settings json for Dirty db to be active
51
+ run : cp test1/settings.json.template test1/settings.json
50
52
51
53
- name : start etherpad >> test1
52
54
run : cd test1 && pnpm run prod &
You can’t perform that action at this time.
0 commit comments