Skip to content

Merge pull request #612 from centrica-engineering/fix/inputter-id-sel… #300

Merge pull request #612 from centrica-engineering/fix/inputter-id-sel…

Merge pull request #612 from centrica-engineering/fix/inputter-id-sel… #300

name: Publish NPM experimental
on:
push:
branches:
- main
jobs:
publish-experimental:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm version prerelease --git-tag-version=false --preid=experimental-${{ github.run_number }}-"$(git show -s --format=%h)" --workspace=@muonic/muon
- run: npm publish --workspace=@muonic/muon --access public --tag experimental
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}