Skip to content

Commit

Permalink
Merge pull request #15 from zalando/feat/publish-npm
Browse files Browse the repository at this point in the history
Feat/publish npm
  • Loading branch information
natalyapeixoto authored Jul 5, 2022
2 parents 0ec0ddb + 553cf30 commit bb750a1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ name: Node.js Package
on:
release:
types: [created]
push:
branches: [ "main" ]

jobs:
publish-npm:
Expand All @@ -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}}
3 changes: 2 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
registry=https://registry.npmjs.org/
registry=https://registry.npmjs.org/
engine-strict=true
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit bb750a1

Please sign in to comment.