diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml new file mode 100644 index 000000000..17ca8837e --- /dev/null +++ b/.github/workflows/release-package.yml @@ -0,0 +1,21 @@ +name: Release +on: + push: + +jobs: + publish-github-registry: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 22 + registry-url: https://npm.pkg.github.com/ + - run: yarn install + - run: yarn build + - run: yarn publish + env: + NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} +permissions: + contents: read + packages: write \ No newline at end of file