From 91f87e04046ebcd3236bddfd1b5e19bcd3543d26 Mon Sep 17 00:00:00 2001 From: Filadelfo Date: Fri, 5 Dec 2025 17:44:12 -0300 Subject: [PATCH] Bring back wokflow to publish directly to npm via GA --- .github/workflows/publish-stable-npm.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/publish-stable-npm.yml diff --git a/.github/workflows/publish-stable-npm.yml b/.github/workflows/publish-stable-npm.yml new file mode 100644 index 000000000..99c9a59fe --- /dev/null +++ b/.github/workflows/publish-stable-npm.yml @@ -0,0 +1,24 @@ +name: publish-stable:npm + +on: + push: + branches-ignore: + - '**' + tags: + - 'v[0-9]+.[0-9]+.[0-9]+' + +jobs: + npm-publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 22 + registry-url: https://registry.npmjs.org/ + - run: yarn install --ignore-scripts + - run: yarn ci:build + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + IS_CI: true