diff --git a/.gitea/workflows/example-feature.yml b/.gitea/workflows/example-feature.yml index 9399d64..3877496 100644 --- a/.gitea/workflows/example-feature.yml +++ b/.gitea/workflows/example-feature.yml @@ -2,7 +2,6 @@ name: CI Feature on: push: branches-ignore: - - feature/docker-kuntoon - main workflow_dispatch: diff --git a/.gitea/workflows/example-main.yml b/.gitea/workflows/example-main.yml index 2cf8a9c..0dfd456 100644 --- a/.gitea/workflows/example-main.yml +++ b/.gitea/workflows/example-main.yml @@ -2,7 +2,6 @@ name: CI Main on: push: branches: - - feature/docker-kuntoon - main workflow_dispatch: diff --git a/package.json b/package.json index c8b454b..e5a8cc9 100644 --- a/package.json +++ b/package.json @@ -1,27 +1,27 @@ { - "name": "gitea-ci-library", - "version": "0.2", - "description": "", - "main": "cucumber.js", - "directories": { - "doc": "docs", - "test": "tests" - }, - "scripts": { - "test": "npm run test:bats && npm run test:cucumber", - "test:bats": "mkdir -p reports && docker run --rm -v \"$(pwd):/repo:ro\" -v \"$(pwd)/reports:/repo/reports\" -w /repo --entrypoint bash bats/bats:latest -c 'apk add -q python3 curl jq lsof ruby && gem install bashcov -q > /dev/null 2>&1; bats tests/'", - "test:bats:coverage": "mkdir -p reports && docker run --rm -v \"$(pwd):/repo\" -v \"$(pwd)/reports:/repo/reports\" -w /repo --entrypoint bash bats/bats:latest -c 'apk add -q python3 curl jq lsof ruby && gem install bashcov -q > /dev/null 2>&1; bashcov -- bats tests/'", - "test:cucumber": "docker run --rm -v \"$(pwd):/repo:ro\" -v \"$(pwd)/node_modules:/repo/node_modules\" -w /repo --entrypoint bash node:22 -c 'apt-get update -qq && apt-get install -y -qq jq lsof && npm ci && npx cucumber-js tests/features/ --tags @mock and ~@wip'" - }, - "repository": { - "type": "git", - "url": "ssh://git@gitea.app.keskikuja.site:30009/niko/gitea-ci-library.git" - }, - "keywords": [], - "author": "", - "license": "ISC", - "type": "commonjs", - "devDependencies": { - "@cucumber/cucumber": "^13.0.0" - } + "name": "gitea-ci-library", + "version": "0.2.0", + "description": "", + "main": "cucumber.js", + "directories": { + "doc": "docs", + "test": "tests" + }, + "scripts": { + "test": "npm run test:bats && npm run test:cucumber", + "test:bats": "mkdir -p reports && docker run --rm -v \"$(pwd):/repo:ro\" -v \"$(pwd)/reports:/repo/reports\" -w /repo --entrypoint bash bats/bats:latest -c 'apk add -q python3 curl jq lsof ruby && gem install bashcov -q > /dev/null 2>&1; bats tests/'", + "test:bats:coverage": "mkdir -p reports && docker run --rm -v \"$(pwd):/repo\" -v \"$(pwd)/reports:/repo/reports\" -w /repo --entrypoint bash bats/bats:latest -c 'apk add -q python3 curl jq lsof ruby && gem install bashcov -q > /dev/null 2>&1; bashcov -- bats tests/'", + "test:cucumber": "docker run --rm -v \"$(pwd):/repo:ro\" -v \"$(pwd)/node_modules:/repo/node_modules\" -w /repo --entrypoint bash node:22 -c 'apt-get update -qq && apt-get install -y -qq jq lsof && npm ci && npx cucumber-js tests/features/ --tags @mock and ~@wip'" + }, + "repository": { + "type": "git", + "url": "ssh://git@gitea.app.keskikuja.site:30009/niko/gitea-ci-library.git" + }, + "keywords": [], + "author": "", + "license": "ISC", + "type": "commonjs", + "devDependencies": { + "@cucumber/cucumber": "^13.0.0" + } } \ No newline at end of file