diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 00000000..1838e7c7 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @xabg2 @internxt-dev diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 9bf8d046..1112750b 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -7,10 +7,10 @@ on: jobs: build: runs-on: ubuntu-latest + environment: npm-publish permissions: contents: read id-token: write - packages: write steps: - name: Checkout uses: actions/checkout@v4 @@ -27,10 +27,5 @@ jobs: - name: Build run: yarn build - - name: Set the NPM registry with token - run: | - echo "registry=https://registry.npmjs.org/" > .npmrc - echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc - - name: Publish on NPM run: npm publish --scope=@internxt --access public