Woodpecker plugin to execute NPM, PNPM or Yarn scripts
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Lauris BH b490a75fd5
ci/woodpecker/push/woodpecker Pipeline was successful Details
Fix docker hub URL (#5)
Current ULR is private one

Reviewed-on: #5
Reviewed-by: qwerty287 <qwerty287@noreply.codeberg.org>
Co-authored-by: Lauris BH <lafriks@noreply.codeberg.org>
Co-committed-by: Lauris BH <lafriks@noreply.codeberg.org>
7 months ago
.gitignore Initial commit 7 months ago
.woodpecker.yml Update '.woodpecker.yml' 7 months ago
Dockerfile Also install curl 7 months ago
README.md FIx README file with new docker image location (#2) 7 months ago
docs.md Fix docker hub URL (#5) 7 months ago
run.sh Print commands on execution 7 months ago

README.md

Woodpecker Node PM

Woodpecker plugin to execute NPM, PNPM or Yarn scripts.

Features

  • automatically find used package manager (based on lockfile)
  • install if node_modules don't exist
  • run multiple tasks

Usage

Example pipeline running one script:

pipeline:
	build:
		image: codeberg.org/woodpecker-plugins/node-pm
		settings:
			run: build # script name
			with: pnpm # if `with` is set, enforce to use this package manager

Example pipeline running multiple scripts (prepare and build):

pipeline:
	build:
		image: codeberg.org/woodpecker-plugins/node-pm
		settings:
			run:
			  - prepare
			  - build