Skip to content

Feature | Improve Icon Picker by virtualizing icon grid and using fuzzy search #91

Feature | Improve Icon Picker by virtualizing icon grid and using fuzzy search

Feature | Improve Icon Picker by virtualizing icon grid and using fuzzy search #91

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@v2
- uses: actions/setup-node@v2
with:
node-version: '16.x'
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