diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 52e928b..652ad08 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,19 +59,3 @@ jobs: - run: npm publish --access public env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - - publish-gpr: - name: Publish to Github Packages - needs: build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - with: - node-version: 12 - registry-url: https://npm.pkg.github.com/ - - run: npm ci - - run: npm run build - - run: npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/package.json b/package.json index 1685ca7..1fc0f9c 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "scripts": { "build": "tsc", "watch": "npm run build -- --watch", - "prepublishOnly": "npm run lint && npm test && node scripts/prepare.js", + "prepublishOnly": "node scripts/prepare.js", "lint": "eslint src", "format": "npm run format:prettier && npm run format:eslint", "format:prettier": "prettier --write src",