From 974710e2fbbc41875988fd82e473c6bbcddec431 Mon Sep 17 00:00:00 2001 From: Jakub Gawryl Date: Wed, 20 Jan 2021 16:34:41 +0100 Subject: [PATCH] Update CI pipeline --- .github/workflows/npm-publish.yml | 12 +----------- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 13 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 8cf50ea..4e728f1 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -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 @@ -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}} diff --git a/package-lock.json b/package-lock.json index cdb2a91..140d42d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "redmine-ts", - "version": "0.2.0", + "version": "0.2.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 0ca087a..69e7c82 100644 --- a/package.json +++ b/package.json @@ -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",