diff --git a/.changeset/odd-games-doubt.md b/.changeset/odd-games-doubt.md new file mode 100644 index 0000000..b1ad6f4 --- /dev/null +++ b/.changeset/odd-games-doubt.md @@ -0,0 +1,5 @@ +--- +"@bunny.net/edgescript-sdk": minor +--- + +Test bump diff --git a/.github/workflows/changeset.yml b/.github/workflows/changeset.yml index 1d6b472..8bea97c 100644 --- a/.github/workflows/changeset.yml +++ b/.github/workflows/changeset.yml @@ -24,15 +24,24 @@ jobs: with: token: ${{ secrets.BUNNY_GITHUB }} + - name: Creating .npmrc + run: | + cat << EOF > "$HOME/.npmrc" + //registry.npmjs.org/:_authToken=$NPM_TOKEN + EOF + env: + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: Setup Javascript uses: ./.github/actions/setup-project + - name: Create Release Pull Request uses: changesets/action@v1 env: GITHUB_TOKEN: ${{ secrets.BUNNY_GITHUB }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} with: - publish: "pnpm changeset publish" + publish: "pnpm run -r build && pnpm changeset publish" title: "🎉 Release" createGithubReleases: true