File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 99 workflow_dispatch : # Added manual trigger option
1010
1111permissions :
12- contents : read
12+ contents : write
1313 packages : write
1414
1515jobs :
3636 needs : build
3737 runs-on : ubuntu-latest
3838 permissions :
39- contents : read
39+ contents : write
4040 packages : write
4141 steps :
4242 - uses : actions/checkout@v4
5151 name : build-output
5252 path : packages/
5353 - run : npm ci
54- - run : cp README.md packages/stencil-library
54+ - name : Temporarily sync README
55+ run : |
56+ cp README.md packages/stencil-library
57+ git commit -am "Synced README"
5558 - name : Configure GitHub Packages scope
5659 run : echo "@$(echo '${{ github.repository }}' | cut -d '/' -f 1):registry=https://npm.pkg.github.com" >> .npmrc
5760 - run : npx lerna publish from-package --yes
6265 needs : build
6366 runs-on : ubuntu-latest
6467 permissions :
65- contents : read
68+ contents : write
6669 steps :
6770 - uses : actions/checkout@v4
6871 - uses : actions/setup-node@v4
7679 name : build-output
7780 path : packages/
7881 - run : npm ci
79- - run : cp README.md packages/stencil-library
82+ - name : Temporarily sync README
83+ run : |
84+ cp README.md packages/stencil-library
85+ git commit -am "Synced README"
8086 - run : npx lerna publish from-package --yes
8187 env :
8288 NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
You can’t perform that action at this time.
0 commit comments