feat(scripts): install_bun.sh
This commit is contained in:
32
.github/workflows/ci.yaml
vendored
32
.github/workflows/ci.yaml
vendored
@@ -67,6 +67,7 @@ jobs:
|
||||
|
||||
scripts:
|
||||
runs-on: ubuntu-24.04-arm
|
||||
timeout-minutes: 20
|
||||
env:
|
||||
GITHUB_API_KEY: ${{ secrets.GITHUB_TOKEN }}
|
||||
steps:
|
||||
@@ -74,6 +75,37 @@ jobs:
|
||||
- name: Make directories
|
||||
shell: bash
|
||||
run: sudo install -v -d -o "$(id -un)" /app/common
|
||||
- name: Install `bun`
|
||||
shell: bash
|
||||
run: |
|
||||
printf '%s\n' '' '++++++++ START: install_bun.sh + gpg' '' ;
|
||||
./tubesync/install_bun.sh
|
||||
printf '%s\n' '' '-------- END: install_bun.sh + gpg' '' ;
|
||||
|
||||
sudo apt-get update &&
|
||||
sudo apt-get install --no-install-recommends -y sq sqv
|
||||
printf '%s\n' '' '' '====== SQV ======' ;
|
||||
sqv --help
|
||||
sqv --version
|
||||
printf '%s\n' '' '' '====== SQ ======' ;
|
||||
sq --help
|
||||
sq help verify
|
||||
sq version
|
||||
printf '%s\n' '' '' '====== BUN ======' ;
|
||||
bun --revision
|
||||
|
||||
printf '%s\n' '' '++++++++ START: verify_bun.ts + sqv' '' ;
|
||||
bun run ./tubesync/verify_bun.ts
|
||||
printf '%s\n' '' '-------- END: verify_bun.ts + sqv' '' ;
|
||||
|
||||
sudo apt-get purge -y sqv
|
||||
|
||||
printf '%s\n' '' '++++++++ START: verify_bun.ts + sq' '' ;
|
||||
bun run ./tubesync/verify_bun.ts --install-dir /usr/local/bin
|
||||
printf '%s\n' '' '-------- END: verify_bun.ts + sq' '' ;
|
||||
|
||||
printf '%s\n' '' '' '====== BUN ======' ;
|
||||
bun --revision
|
||||
- name: Install `deno`
|
||||
shell: bash
|
||||
run: ./tubesync/install_deno.sh
|
||||
|
||||
Reference in New Issue
Block a user