From 20240fd30c498be682ed5177d1777d00df7e4be8 Mon Sep 17 00:00:00 2001 From: natalyapeixoto Date: Tue, 5 Jul 2022 12:56:17 +0200 Subject: [PATCH 1/2] workflow: remove automation on merge with main --- .github/workflows/npm-publish.yml | 4 +--- .npmrc | 3 ++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index b4ae09f..95559b3 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -6,8 +6,6 @@ name: Node.js Package on: release: types: [created] - push: - branches: [ "main" ] jobs: publish-npm: @@ -22,7 +20,7 @@ jobs: - run: yarn install:ci - run: yarn tsc - run: yarn build - - run: yarn test -- --no-watch --silent --forceExit --detectOpenHandles --no-cache --coverage=false --runInBand + - run: yarn test:ci - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} diff --git a/.npmrc b/.npmrc index 5660f81..aa900f2 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1,2 @@ -registry=https://registry.npmjs.org/ \ No newline at end of file +registry=https://registry.npmjs.org/ +engine-strict=true \ No newline at end of file From 553cf3047540a3e28cc201561b8b54c13c3a1dd9 Mon Sep 17 00:00:00 2001 From: natalyapeixoto Date: Tue, 5 Jul 2022 13:35:25 +0200 Subject: [PATCH 2/2] update version --- .npmrc | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.npmrc b/.npmrc index aa900f2..c3c6634 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,2 @@ registry=https://registry.npmjs.org/ -engine-strict=true \ No newline at end of file +engine-strict=true diff --git a/package.json b/package.json index 61403fc..c71a5cc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "backstage-plugin-api-linter", - "version": "1.0.0", + "version": "1.0.1", "description": "API Linter is a quality assurance tool that checks the compliance of API's specifications to Zalando's API rules.", "main": "src/index.ts", "directories": {