Skip to content

Commit

Permalink
Merge pull request #4 from radekBednarik/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
radekBednarik authored Dec 14, 2023
2 parents 7385e8a + 5025d6a commit 02b765f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 14 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,7 @@ on:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- run: npm ci
- run: npm run build

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -28,6 +17,7 @@ jobs:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN_PUBLISH}}
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
node_modules
test
src
coverage
.eslintcache
.eslintrc.cjs
.gitignore
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bednarik_radek/mockserver-cli",
"version": "0.1.4",
"version": "0.1.6",
"description": "CLI utility for Mock-server client. Allows for easy creation/deletion of expectations on the Mock-server instance.",
"main": "index.js",
"type": "module",
Expand Down

0 comments on commit 02b765f

Please sign in to comment.