Skip to content

Merge pull request #110 from regulaforensics/fix/sp-17522-security #10

Merge pull request #110 from regulaforensics/fix/sp-17522-security

Merge pull request #110 from regulaforensics/fix/sp-17522-security #10

name: publish prerelease npm package
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- run: |
npm version $(npm info | grep next | sed 's/^.*: //') --no-git-tag-version --allow-same-version
- run: npm install
- run: npm run build
- run: npm version prerelease --no-git-tag-version --allow-same-version --preid beta
- run: npm publish --tag next
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}}