Skip to content

Merge pull request #591 from centrica-engineering/fix/allure #288

Merge pull request #591 from centrica-engineering/fix/allure

Merge pull request #591 from centrica-engineering/fix/allure #288

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}}