Skip to content

Commit

Permalink
fix: ci error
Browse files Browse the repository at this point in the history
  • Loading branch information
Aiden-FE committed Mar 18, 2024
1 parent 0e58995 commit 8f52f50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ on:
branches:
- '**'

env:
NODE_ENV: production

jobs:
lint:
name: Lint code
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/publish-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ concurrency:
group: 'deploy'
cancel-in-progress: false

env:
NODE_ENV: production

jobs:
lint:
name: Publish and deploy
Expand Down Expand Up @@ -57,7 +54,7 @@ jobs:
SKIP_INSTALL_SIMPLE_GIT_HOOKS: 1
SKIP_SIMPLE_GIT_HOOKS: 1
run: |
pnpm install
pnpm install --frozen-lockfile
# 同步版本及推送标签
- name: Bump version and push tag
Expand All @@ -75,6 +72,8 @@ jobs:
# 构建项目
- name: Run build
env:
NODE_ENV: production
run: |
pnpm build
Expand Down

0 comments on commit 8f52f50

Please sign in to comment.