message: publish only npm for now
diff: @@ -66,39 +66,3 @@ jobs:
  - run: npm publish ./pack-artifact/package.tgz
  env:
  NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
  -
  - publish-gpr:
  - needs: build
  - runs-on: ubuntu-latest
  - steps:
  -
  - - name: Download build artifacts
  - uses: actions/download-artifact@v1
  - with:
  - name: pack-artifact
  -
  - - name: Install JQ for JSON handling
  - run: sudo apt-get install jq
  -
  - - name: Get repository name
  - run: echo ::set-env name=REPOSITORY_NAME::$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}' | sed -e "s/:refs//")
  - shell: bash
  -
  - - name: Rename NPM package
  - run: |
  - ORG_NAME="zxing-js"
  - PACKAGE_NAME="@$ORG_NAME/$REPOSITORY_NAME"
  - tar -xzf ./pack-artifact/package.tgz
  - cd ./package
  - mv package.json temp.json
  - jq -r --arg NAME $PACKAGE_NAME '.name |= $NAME' temp.json > package.json
  - rm temp.json
  -
  - - uses: actions/setup-node@v3
  - with:
  - node-version: 18
  - registry-url: https://npm.pkg.github.com/
  -
  - - run: npm publish ./pack-artifact/package.tgz
  - env:
  - NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
  