diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c897669..95315d5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,6 +17,9 @@ jobs: - run: npm install -g yarn - run: yarn install --immutable - run: yarn pack --filename package.tgz - - run: yarn publish ./package.tgz --access public + - name: Publish to NPM env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + run: | + echo "//registry.npmjs.org/:_authToken=\${NODE_AUTH_TOKEN}" > .npmrc + yarn publish ./package.tgz --access public diff --git a/dist/index.js b/dist/index.js index 5826a0a..a6e772e 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,5 +1,5 @@ /*! - * @uni-helper/galanga 0.1.6-test6 (https://github.com/uni-helper/galanga) + * @uni-helper/galanga 0.1.6-test7 (https://github.com/uni-helper/galanga) * API https://galanga.censujiang.com/api/ * Copyright 2014-2023 censujiang. All Rights Reserved * Licensed under Apache License 2.0 (https://github.com/uni-helper/galanga/blob/master/LICENSE) diff --git a/package.json b/package.json index 90099cf..d6eec00 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@uni-helper/galanga", - "version": "0.1.6-test6", + "version": "0.1.6-test7", "description": "JS common function library(UNI-APP version of Galanga)", "main": "esm/index.js", "jsnext:main": "esm/index.js",