diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e829325f..941b6d4a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -89,7 +89,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_REPOSITORY: ${{ github.repository }} - GITHUB_REF: ${{ github.ref }} + GITHUB_REF: ${{ github.sha }} run: errout=$(mktemp); gh release create $(cat dist/releasetag.txt) -R $GITHUB_REPOSITORY -F dist/changelog.md -t $(cat dist/releasetag.txt) --target $GITHUB_REF 2> $errout && true; exitcode=$?; if [ $exitcode -ne 0 ] && ! grep -q "Release.tag_name already exists" $errout; then cat $errout; exit $exitcode; fi release_npm: name: Publish to npm diff --git a/.projen/tasks.json b/.projen/tasks.json index 31b485a3..4472552c 100644 --- a/.projen/tasks.json +++ b/.projen/tasks.json @@ -223,7 +223,7 @@ "description": "Run tests", "steps": [ { - "exec": "jest --passWithNoTests --coverageProvider=v8 --updateSnapshot", + "exec": "jest --passWithNoTests --updateSnapshot", "receiveArgs": true }, { diff --git a/package.json b/package.json index e388e1f2..58f4e3f4 100644 --- a/package.json +++ b/package.json @@ -53,18 +53,18 @@ "jsii-pacmak": "^1.98.0", "jsii-rosetta": "~5.4.0", "prettier": "^3.2.5", - "projen": "^0.81.8", + "projen": "^0.82.2", "standard-version": "^9", "ts-jest": "^29.1.3", "ts-node": "^10.9.2", "typescript": "^5.4.5" }, "peerDependencies": { - "projen": "^0.81.8" + "projen": "^0.82.2" }, "dependencies": { "cson-parser": "^4.0.9", - "projen": "^0.81.8", + "projen": "^0.82.2", "semver": "^7.6.2", "ts-deepmerge": "^6.2.1" }, @@ -84,12 +84,13 @@ }, "version": "0.0.0", "jest": { + "coverageProvider": "v8", "collectCoverageFrom": [ "src/**/*.ts" ], "testMatch": [ "/src/**/__tests__/**/*.ts?(x)", - "/(test|src)/**/*(*.)@(spec|test).ts?(x)" + "/@(test|src)/**/*(*.)@(spec|test).ts?(x)" ], "clearMocks": true, "collectCoverage": true, diff --git a/yarn.lock b/yarn.lock index ec7dc372..2586ed65 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4579,10 +4579,10 @@ process-nextick-args@~2.0.0: resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== -projen@^0.81.8: - version "0.81.8" - resolved "https://registry.yarnpkg.com/projen/-/projen-0.81.8.tgz#eb8e289977267fa5fc73c46d38d387ad4479f558" - integrity sha512-Y3CtD+09qPhI+Res0r229CFWaXS0HlrWs8BbxG/NgoJJniRLLkfQG7W5hLOqMa3plBpwPJOyldTKbPOhHo5JrA== +projen@^0.82.2: + version "0.82.2" + resolved "https://registry.yarnpkg.com/projen/-/projen-0.82.2.tgz#5d450a919e598dcb240655531d93b0b77248b353" + integrity sha512-FMS73lMtFukF9v1LexWu+LLCHSlPrVj691lZ5wJyJ2HULBVs0HPyVOIS0CZhPfad9E/sS0jf0ibw+TcL/rbXKg== dependencies: "@iarna/toml" "^2.2.5" case "^1.6.3" @@ -4593,7 +4593,7 @@ projen@^0.81.8: fast-json-patch "^3.1.1" glob "^8" ini "^2.0.0" - semver "^7.6.1" + semver "^7.6.2" shx "^0.3.4" xmlbuilder2 "^3.1.1" yaml "^2.2.2" @@ -4899,11 +4899,6 @@ semver@^7.6.0: dependencies: lru-cache "^6.0.0" -semver@^7.6.1: - version "7.6.1" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.1.tgz#60bfe090bf907a25aa8119a72b9f90ef7ca281b2" - integrity sha512-f/vbBsu+fOiYt+lmwZV0rVwJScl46HppnOA1ZvIuBWKOTlllpyJ3bfVax76/OrhCH38dyxoDIA8K7uB963IYgA== - semver@^7.6.2: version "7.6.2" resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.2.tgz#1e3b34759f896e8f14d6134732ce798aeb0c6e13"