From 7894c3761d6e92ae51af685d7fc408fdf32c7fd7 Mon Sep 17 00:00:00 2001 From: F0079 <162501013+F0079@users.noreply.github.com> Date: Mon, 6 Jul 2026 14:38:36 +0200 Subject: [PATCH] Modify npm-publish workflow for private package Updated workflow to publish a private NPM package on push to a specific branch and removed unnecessary publish steps. --- .github/workflows/npm-publish.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/npm-publish.yml diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml new file mode 100644 index 000000000..753ad5801 --- /dev/null +++ b/.github/workflows/npm-publish.yml @@ -0,0 +1,28 @@ +# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created +# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages + +name: Private NPM Package + +on: + push: + branches: + - recurrent-local-notifications-with-startdate-npm + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + - run: npm ci + - run: cd local-notifications + - run: npm ci + - run: cd android + - run: ./gradlew build + - run: ../ + - run: npm run build +# - run: npm publish +# env: +# FOO: "bla"