diff --git a/.github/workflows/npm_deploy.yml b/.github/workflows/npm_deploy.yml index 47f4bc8..27f84b3 100644 --- a/.github/workflows/npm_deploy.yml +++ b/.github/workflows/npm_deploy.yml @@ -12,12 +12,11 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 18 - registry-url: 'https://registry.npmjs.org' - name: Install Node types run: npm install @types/node - - name: Install dependencies and build - run: npm ci && npm run build - - name: Publish package on NPM - run: npm publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM }} + - name: Run build + run: npm run build + - name: Publish package + uses: JS-DevTools/npm-publish@v1 + with: + token: ${{ secrets.NPM }} diff --git a/yarn.lock b/yarn.lock index 923b5bc..8037afd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -100,9 +100,9 @@ tr46@~0.0.3: integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== typescript@^4.0: - version "4.8.4" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.8.4.tgz#c464abca159669597be5f96b8943500b238e60e6" - integrity sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ== + version "4.9.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.3.tgz#3aea307c1746b8c384435d8ac36b8a2e580d85db" + integrity sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA== url-parse@^1.4.3: version "1.5.10"