Skip to content

Commit

Permalink
chore(ci): 在 github 构建时忽略 yarn.lock,以不使用腾讯镜像源
Browse files Browse the repository at this point in the history
  • Loading branch information
gmlayer0 authored and cjj826 committed Jun 2, 2023
1 parent 6db443f commit f8fd5a1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm-checkstyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ jobs:
node-version: 16
cache: 'yarn'
- run: rm .npmrc
- run: yarn install
- run: yarn install --no-lockfile
- run: yarn eslint
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
node-version: 16
cache: 'yarn'
- run: rm .npmrc
- run: yarn install
- run: yarn install --no-lockfile
- run: yarn electron:build --publish=never
- uses: actions/upload-artifact@v3
with:
Expand All @@ -38,7 +38,7 @@ jobs:
node-version: 16
cache: 'yarn'
- run: rm .npmrc
- run: yarn install
- run: yarn install --no-lockfile
- run: yarn electron:build --publish=never
- uses: actions/upload-artifact@v3
with:
Expand All @@ -55,7 +55,7 @@ jobs:
node-version: 16
cache: 'yarn'
- run: rm .npmrc
- run: yarn install
- run: yarn install --no-lockfile
- run: echo $CSC_IDENTITY_AUTO_DISCOVERY
- run: yarn electron:build --publish=never --skipElectronBuild
- run: cp -r build dist_electron/bundled/build
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/universe-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
node-version: 16
cache: 'yarn'
- run: rm .npmrc
- run: yarn install
- run: yarn install --no-lockfile
- run: yarn electron:build --publish=never
- uses: actions/upload-artifact@v3
with:
Expand All @@ -33,7 +33,7 @@ jobs:
node-version: 16
cache: 'yarn'
- run: rm .npmrc
- run: yarn install
- run: yarn install --no-lockfile
- run: yarn electron:build --publish=never
- uses: actions/upload-artifact@v3
with:
Expand All @@ -50,7 +50,7 @@ jobs:
node-version: 16
cache: 'yarn'
- run: rm .npmrc
- run: yarn install
- run: yarn install --no-lockfile
- run: echo $CSC_IDENTITY_AUTO_DISCOVERY
- run: yarn electron:build --publish=never --skipElectronBuild
- run: cp -r build dist_electron/bundled/build
Expand Down

0 comments on commit f8fd5a1

Please sign in to comment.