Skip to content

Commit

Permalink
🧑‍💻 yarnの設定環境変数を設定ファイルに移動 (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
ci7lus committed Aug 23, 2022
1 parent 18fd03e commit 4fd1266
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,6 @@ jobs:
run: sudo apt-get install cmake=3.16.3-1ubuntu1 libvlc-dev=3.0.9.2-1
- name: Install
run: yarn
env:
YARN_CHECKSUM_BEHAVIOR: "update"
- name: Build webchimera.js (unix like, without aarch64)
if: runner.os != 'Windows' && matrix.target != 'x86_64-apple-darwin-as-aarch64'
run: ./setup_wcjs.sh
Expand Down
3 changes: 3 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ plugins:
spec: "@yarnpkg/plugin-interactive-tools"

yarnPath: .yarn/releases/yarn-3.1.1.cjs

# https://github.com/ci7lus/MirakTest/issues/89#issuecomment-1224294384
checksumBehavior: "update"
2 changes: 1 addition & 1 deletion setup_wcjs.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Expand-Archive -Path ".\libvlc.zip" -DestinationPath ".\deps\vlc-${LIBVLC_VER}"
Remove-Item ".\libvlc.zip"
Write-Output "nodeLinker: node-modules" | Set-Content ".\.yarnrc.yml"
Write-Output "" | Set-Content ".\yarn.lock"
rm -rf deps/libvlc_wrapper
Remove-Item ".\deps\libvlc_wrapper" -Recurse -Force
git clone --depth 1 --recursive https://github.com/RSATom/ya-libvlc-wrapper.git deps/libvlc_wrapper
yarn install
node rebuild.js
Expand Down

0 comments on commit 4fd1266

Please sign in to comment.