Skip to content
This repository was archived by the owner on Oct 29, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 5 additions & 15 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,25 +51,18 @@ jobs:
pyenv rehash
- checkout
- node/install:
node-version: 16.20.2
node-version: 22.23.4
- run:
name: Verify Versions
command: |
node --version
npm --version
- run:
name: Install
command: |
npm i
npm i --prefix=$HOME/.local -g pkg
ls -la $HOME/.local
ls -la $HOME/.local/bin
echo 'export PATH=$HOME/.local/bin:$PATH' >> $BASH_ENV
command: npm ci
- run:
name: Build
command: |
echo "Path: $PATH"
echo "pkg location: $(which pkg)"
npm run build
tar -czvf dist/removebg_cli_VERSION_<< parameters.os >>.tar.gz dist/removebg
- store_artifacts:
Expand All @@ -87,19 +80,16 @@ jobs:
- run:
name: Install Node
command: |
nvm install 16.20.2
nvm use 16.20.2
nvm install 22.23.4
nvm use 22.23.4
- run:
name: Verify Versions
command: |
node --version
npm --version
- run:
name: Install
command: |
npm install
dir
npm i -g pkg
command: npm ci
- run:
name: Build
command: |
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 16.20.2
nodejs 22.23.4
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ removebg zip2png --file /path/to/file.zip

Prerequisites:

- `nodejs 14.18.1`
- `nodejs 22.23.4`

Getting started:

Expand Down
Loading