Skip to content

Commit

Permalink
Update CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Gawryl committed Jan 20, 2021
1 parent a2415b8 commit 974710e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 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@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm ci
- run: npm run build

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -28,6 +17,7 @@ jobs:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_SECRET}}
2 changes: 1 addition & 1 deletion 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": "redmine-ts",
"version": "0.2.2",
"version": "0.2.3",
"description": "Redmine REST API client written using TypeScript",
"author": "Jakub Gawryl",
"license": "MIT",
Expand Down

0 comments on commit 974710e

Please sign in to comment.