Skip to content

Fix: use unknown instead of any for unknown additional props #148

Fix: use unknown instead of any for unknown additional props

Fix: use unknown instead of any for unknown additional props #148

name: Publish @next version to NPM
on:
pull_request:
branches:
- 'develop'
types: [closed]
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'
- name: Install all npm packages
run: npm ci
- name: Build package
run: npm run build
- name: Configure git user name and email
run: |
git config user.name "10up Bot"
git config user.email "[email protected]"
- name: npm update version and release
run: |
npm version prerelease --preid=next
npm publish --tag next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: push release commit to repo
run: git push