Skip to content

Publish Experimental #7

Publish Experimental

Publish Experimental #7

name: Publish Experimental
on:
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
scope: '@mep-agency'
- run: npm i
- run: npm run lint && npm run build
- run: npm version --no-git-tag-version --commit-hooks false "0.0.0-experimental.${{ github.sha }}" && npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}