diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1c752c7..54f2299 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,13 +19,17 @@ jobs: uses: actions/setup-node@v1 with: node-version: 20.x + registry-url: 'https://registry.npmjs.org' - run: npm ci - run: npm run build - - run: npm pack + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + - - name: Release - uses: softprops/action-gh-release@v1 - with: - body_path: CHANGELOG.md - append_body: true - files: tekton-lint-*.tgz + # - name: Release + # uses: softprops/action-gh-release@v1 + # with: + # body_path: CHANGELOG.md + # append_body: true + # files: tekton-lint-*.tgz diff --git a/package.json b/package.json index 2e99e4a..7aad0aa 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "tekton-lint", + "name": "@ibm/tekton-lint", "files": [ "lib/**/*.js", "lib/**/*.d.ts",