🐛 fix workflow errors

use latest pnpm version
This commit is contained in:
zS1L3NT Windows 2023-07-30 00:20:27 +08:00
parent d88d87e3f8
commit 99474b93e0
3 changed files with 44 additions and 48 deletions

View File

@ -18,11 +18,11 @@ jobs:
- name: Performing Pnpm Install on Workspace
uses: pnpm/action-setup@v2.2.2
with:
version: 6.0.2
version: latest
run_install: true
- name: Transpiling TypeScript
run: pnpx tsc
run: pnpm build
- name: Writing to .npmrc file
run: |
@ -30,9 +30,9 @@ jobs:
echo 'registry=https://registry.npmjs.org/' >> .npmrc
echo 'always-auth=true' >> .npmrc
- name: Publishing to NPM
run: |
pnpm publish --no-git-checks
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Publishing to NPM
# run: |
# pnpm publish --no-git-checks
# env:
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -11,6 +11,7 @@
"url": "https://github.com/zS1L3NT/ts-npm-ytmusic-api"
},
"scripts": {
"build": "tsc",
"test": "ts-mocha --timeout 30000 src/__tests__/**/*.spec.ts",
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs",
@ -42,7 +43,7 @@
"prettier": "latest",
"ts-mocha": "^10.0.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.4",
"typescript": "latest",
"vuepress": "^2.0.0-beta.46"
},
"keywords": [

View File

@ -33,10 +33,10 @@ devDependencies:
version: 4.0.2
'@typescript-eslint/eslint-plugin':
specifier: latest
version: 6.2.0(@typescript-eslint/parser@6.2.0)(eslint@8.46.0)(typescript@4.9.4)
version: 6.2.0(@typescript-eslint/parser@6.2.0)(eslint@8.46.0)(typescript@5.1.6)
'@typescript-eslint/parser':
specifier: latest
version: 6.2.0(eslint@8.46.0)(typescript@4.9.4)
version: 6.2.0(eslint@8.46.0)(typescript@5.1.6)
'@vuepress/plugin-search':
specifier: ^2.0.0-beta.46
version: 2.0.0-beta.46
@ -63,10 +63,10 @@ devDependencies:
version: 10.0.0(mocha@10.2.0)
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/node@18.11.17)(typescript@4.9.4)
version: 10.9.1(@types/node@18.11.17)(typescript@5.1.6)
typescript:
specifier: ^4.9.4
version: 4.9.4
specifier: latest
version: 5.1.6
vuepress:
specifier: ^2.0.0-beta.46
version: 2.0.0-beta.46(@vuepress/client@2.0.0-beta.46)(vue@3.2.36)
@ -129,7 +129,7 @@ packages:
debug: 4.3.4(supports-color@8.1.1)
espree: 9.6.1
globals: 13.20.0
ignore: 5.2.0
ignore: 5.2.4
import-fresh: 3.3.0
js-yaml: 4.1.0
minimatch: 3.1.2
@ -277,7 +277,7 @@ packages:
resolution: {integrity: sha512-Q5vtl1W5ue16D+nIaW8JWebSSraJVlK+EthKn7e7UcD4KWsaSJ8BqGPXNaPghgtcn/fhvrN17Tv8ksUsQpiplw==}
dev: true
/@typescript-eslint/eslint-plugin@6.2.0(@typescript-eslint/parser@6.2.0)(eslint@8.46.0)(typescript@4.9.4):
/@typescript-eslint/eslint-plugin@6.2.0(@typescript-eslint/parser@6.2.0)(eslint@8.46.0)(typescript@5.1.6):
resolution: {integrity: sha512-rClGrMuyS/3j0ETa1Ui7s6GkLhfZGKZL3ZrChLeAiACBE/tRc1wq8SNZESUuluxhLj9FkUefRs2l6bCIArWBiQ==}
engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies:
@ -289,10 +289,10 @@ packages:
optional: true
dependencies:
'@eslint-community/regexpp': 4.6.2
'@typescript-eslint/parser': 6.2.0(eslint@8.46.0)(typescript@4.9.4)
'@typescript-eslint/parser': 6.2.0(eslint@8.46.0)(typescript@5.1.6)
'@typescript-eslint/scope-manager': 6.2.0
'@typescript-eslint/type-utils': 6.2.0(eslint@8.46.0)(typescript@4.9.4)
'@typescript-eslint/utils': 6.2.0(eslint@8.46.0)(typescript@4.9.4)
'@typescript-eslint/type-utils': 6.2.0(eslint@8.46.0)(typescript@5.1.6)
'@typescript-eslint/utils': 6.2.0(eslint@8.46.0)(typescript@5.1.6)
'@typescript-eslint/visitor-keys': 6.2.0
debug: 4.3.4(supports-color@8.1.1)
eslint: 8.46.0
@ -301,13 +301,13 @@ packages:
natural-compare: 1.4.0
natural-compare-lite: 1.4.0
semver: 7.5.4
ts-api-utils: 1.0.1(typescript@4.9.4)
typescript: 4.9.4
ts-api-utils: 1.0.1(typescript@5.1.6)
typescript: 5.1.6
transitivePeerDependencies:
- supports-color
dev: true
/@typescript-eslint/parser@6.2.0(eslint@8.46.0)(typescript@4.9.4):
/@typescript-eslint/parser@6.2.0(eslint@8.46.0)(typescript@5.1.6):
resolution: {integrity: sha512-igVYOqtiK/UsvKAmmloQAruAdUHihsOCvplJpplPZ+3h4aDkC/UKZZNKgB6h93ayuYLuEymU3h8nF1xMRbh37g==}
engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies:
@ -319,11 +319,11 @@ packages:
dependencies:
'@typescript-eslint/scope-manager': 6.2.0
'@typescript-eslint/types': 6.2.0
'@typescript-eslint/typescript-estree': 6.2.0(typescript@4.9.4)
'@typescript-eslint/typescript-estree': 6.2.0(typescript@5.1.6)
'@typescript-eslint/visitor-keys': 6.2.0
debug: 4.3.4(supports-color@8.1.1)
eslint: 8.46.0
typescript: 4.9.4
typescript: 5.1.6
transitivePeerDependencies:
- supports-color
dev: true
@ -336,7 +336,7 @@ packages:
'@typescript-eslint/visitor-keys': 6.2.0
dev: true
/@typescript-eslint/type-utils@6.2.0(eslint@8.46.0)(typescript@4.9.4):
/@typescript-eslint/type-utils@6.2.0(eslint@8.46.0)(typescript@5.1.6):
resolution: {integrity: sha512-DnGZuNU2JN3AYwddYIqrVkYW0uUQdv0AY+kz2M25euVNlujcN2u+rJgfJsBFlUEzBB6OQkUqSZPyuTLf2bP5mw==}
engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies:
@ -346,12 +346,12 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/typescript-estree': 6.2.0(typescript@4.9.4)
'@typescript-eslint/utils': 6.2.0(eslint@8.46.0)(typescript@4.9.4)
'@typescript-eslint/typescript-estree': 6.2.0(typescript@5.1.6)
'@typescript-eslint/utils': 6.2.0(eslint@8.46.0)(typescript@5.1.6)
debug: 4.3.4(supports-color@8.1.1)
eslint: 8.46.0
ts-api-utils: 1.0.1(typescript@4.9.4)
typescript: 4.9.4
ts-api-utils: 1.0.1(typescript@5.1.6)
typescript: 5.1.6
transitivePeerDependencies:
- supports-color
dev: true
@ -361,7 +361,7 @@ packages:
engines: {node: ^16.0.0 || >=18.0.0}
dev: true
/@typescript-eslint/typescript-estree@6.2.0(typescript@4.9.4):
/@typescript-eslint/typescript-estree@6.2.0(typescript@5.1.6):
resolution: {integrity: sha512-Mts6+3HQMSM+LZCglsc2yMIny37IhUgp1Qe8yJUYVyO6rHP7/vN0vajKu3JvHCBIy8TSiKddJ/Zwu80jhnGj1w==}
engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies:
@ -376,13 +376,13 @@ packages:
globby: 11.1.0
is-glob: 4.0.3
semver: 7.5.4
ts-api-utils: 1.0.1(typescript@4.9.4)
typescript: 4.9.4
ts-api-utils: 1.0.1(typescript@5.1.6)
typescript: 5.1.6
transitivePeerDependencies:
- supports-color
dev: true
/@typescript-eslint/utils@6.2.0(eslint@8.46.0)(typescript@4.9.4):
/@typescript-eslint/utils@6.2.0(eslint@8.46.0)(typescript@5.1.6):
resolution: {integrity: sha512-RCFrC1lXiX1qEZN8LmLrxYRhOkElEsPKTVSNout8DMzf8PeWoQG7Rxz2SadpJa3VSh5oYKGwt7j7X/VRg+Y3OQ==}
engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies:
@ -393,7 +393,7 @@ packages:
'@types/semver': 7.5.0
'@typescript-eslint/scope-manager': 6.2.0
'@typescript-eslint/types': 6.2.0
'@typescript-eslint/typescript-estree': 6.2.0(typescript@4.9.4)
'@typescript-eslint/typescript-estree': 6.2.0(typescript@5.1.6)
eslint: 8.46.0
semver: 7.5.4
transitivePeerDependencies:
@ -1450,7 +1450,7 @@ packages:
glob-parent: 6.0.2
globals: 13.20.0
graphemer: 1.4.0
ignore: 5.2.0
ignore: 5.2.4
imurmurhash: 0.1.4
is-glob: 4.0.3
is-path-inside: 3.0.3
@ -1697,7 +1697,7 @@ packages:
array-union: 2.1.0
dir-glob: 3.0.1
fast-glob: 3.2.11
ignore: 5.2.0
ignore: 5.2.4
merge2: 1.4.1
slash: 3.0.0
dev: true
@ -1750,11 +1750,6 @@ packages:
resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==}
dev: true
/ignore@5.2.0:
resolution: {integrity: sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==}
engines: {node: '>= 4'}
dev: true
/ignore@5.2.4:
resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==}
engines: {node: '>= 4'}
@ -2532,13 +2527,13 @@ packages:
url-parse: 1.5.10
dev: false
/ts-api-utils@1.0.1(typescript@4.9.4):
/ts-api-utils@1.0.1(typescript@5.1.6):
resolution: {integrity: sha512-lC/RGlPmwdrIBFTX59wwNzqh7aR2otPNPR/5brHZm/XKFYKsfqxihXUe9pU3JI+3vGkl+vyCoNNnPhJn3aLK1A==}
engines: {node: '>=16.13.0'}
peerDependencies:
typescript: '>=4.2.0'
dependencies:
typescript: 4.9.4
typescript: 5.1.6
dev: true
/ts-debounce@4.0.0:
@ -2558,7 +2553,7 @@ packages:
tsconfig-paths: 3.14.1
dev: true
/ts-node@10.9.1(@types/node@18.11.17)(typescript@4.9.4):
/ts-node@10.9.1(@types/node@18.11.17)(typescript@5.1.6):
resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==}
hasBin: true
peerDependencies:
@ -2584,7 +2579,7 @@ packages:
create-require: 1.1.1
diff: 4.0.2
make-error: 1.3.6
typescript: 4.9.4
typescript: 5.1.6
v8-compile-cache-lib: 3.0.1
yn: 3.1.1
dev: true
@ -2627,9 +2622,9 @@ packages:
engines: {node: '>=10'}
dev: true
/typescript@4.9.4:
resolution: {integrity: sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==}
engines: {node: '>=4.2.0'}
/typescript@5.1.6:
resolution: {integrity: sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==}
engines: {node: '>=14.17'}
hasBin: true
dev: true