Skip to content

Commit

Permalink
1.0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
bean authored and bean committed Oct 18, 2022
1 parent adc0d59 commit ff764a2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ on:

jobs:
publish-npm:
needs: build
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

strategy:
matrix:
node-version: [14.x]

steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -22,6 +23,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 14
registry-url: https://registry.npmjs.org/

- uses: pnpm/action-setup@v2.0.1
name: Install pnpm
Expand All @@ -43,7 +45,10 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Run CI
run: pnpm run ci

- name: Run Publish
run: pnpm publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rx-http-kit",
"version": "1.0.10",
"version": "1.0.11",
"description": "HTTP Client Development Kit based by rxjs",
"main": "lib/index.js",
"module": "lib/index.es.js",
Expand All @@ -20,7 +20,7 @@
"test:mocha": "mocha 'test/dist/*.spec.js'",
"test": "pnpm run test:server && pnpm run test:mocha",
"types": "tsc -p ./tsconfig.types.json",
"prepublishOnly": "pnpm run rollup && pnpm run types"
"prepublishOnly": "pnpm run types"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit ff764a2

Please sign in to comment.