Merge pull request #591 from centrica-engineering/fix/allure #288
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}} |