Skip to content

Commit bacd805

Browse files
committed
chore: update workflows config.
1 parent e4f5a62 commit bacd805

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -92,28 +92,28 @@ jobs:
9292
outputs:
9393
successful: ${{steps.create_tag.outputs.successful }}
9494

95-
github-package:
96-
runs-on: ubuntu-latest
97-
needs: build
98-
if: needs.build.outputs.successful
99-
steps:
100-
- uses: actions/checkout@v3
101-
- uses: actions/setup-node@v3
102-
with:
103-
node-version: 16
104-
registry-url: https://npm.pkg.github.com
105-
scope: '@uiwjs'
106-
107-
- run: npm install
108-
- run: npm run build
109-
110-
- name: Modify package name
111-
working-directory: core
112-
shell: bash
113-
run: |
114-
node -e 'var pkg = require("./package.json"); pkg.name="@uiwjs/react-code-preview-layout"; require("fs").writeFileSync("./package.json", JSON.stringify(pkg, null, 2))'
115-
116-
- run: npm publish
117-
working-directory: core
118-
env:
119-
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
95+
# github-package:
96+
# runs-on: ubuntu-latest
97+
# needs: build
98+
# if: needs.build.outputs.successful
99+
# steps:
100+
# - uses: actions/checkout@v3
101+
# - uses: actions/setup-node@v3
102+
# with:
103+
# node-version: 16
104+
# registry-url: https://npm.pkg.github.com
105+
# scope: '@uiwjs'
106+
107+
# - run: npm install
108+
# - run: npm run build
109+
110+
# - name: Modify package name
111+
# working-directory: core
112+
# shell: bash
113+
# run: |
114+
# node -e 'var pkg = require("./package.json"); pkg.name="@uiwjs/react-code-preview-layout"; require("fs").writeFileSync("./package.json", JSON.stringify(pkg, null, 2))'
115+
116+
# - run: npm publish
117+
# working-directory: core
118+
# env:
119+
# NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)