Skip to content

Commit

Permalink
feat: 测试 CD 场景
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyi2 committed Oct 18, 2023
1 parent 6a154f9 commit f450afb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
branches:
- demo/**

env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

jobs:
test:
name: CD 执行流程
Expand All @@ -19,7 +16,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: "16.x"
registry-url: "https://registry.npmjs.org"
# registry-url: "https://registry.npmjs.org"

- name: 安装依赖
run: npm ci
Expand Down Expand Up @@ -61,3 +58,5 @@ jobs:
run: |
cat $NPM_CONFIG_USERCONFIG
npm run release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "micro-framework",
"version": "1.0.7",
"version": "1.0.8",
"description": "深入浅出微前端",
"scripts": {
"prepare": "husky install",
Expand Down

0 comments on commit f450afb

Please sign in to comment.