ci: revert previous commit

This commit is contained in:
Snowflake107 2021-07-05 12:31:39 +05:45
parent d9973cf316
commit 5bad0fc3d4
No known key found for this signature in database
GPG key ID: FA40E3EC5CB6DCD6

View file

@ -22,15 +22,10 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: npm install run: npm install
- name: Deprecate old releases
run: npm deprecate discord-player@"~5.0.0-dev" "outdated version" || true
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
- name: Publish - name: Publish
run: | run: |
npx tsc --skipLibCheck npx tsc --skipLibCheck
npm version --git-tag-version=false $(jq --raw-output '.version' package.json).$(git rev-parse --short HEAD).$(date +%s) npm version --git-tag-version=false $(jq --raw-output '.version' package.json).$(git rev-parse --verify HEAD)
npm publish --tag dev || true npm publish --tag dev || true
env: env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }} NODE_AUTH_TOKEN: ${{ secrets.npm_token }}