π Bump version #19
Workflow file for this run
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: NPM Publish | |
on: | |
push: | |
tags: | |
- "v*" | |
jobs: | |
npm-publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: "yarn" | |
node-version: "18" | |
- name: Install dependencies π¦ | |
run: yarn install --immutable | |
- name: Build π·ββοΈ | |
run: yarn turbo run build --filter=gitmojis | |
- name: Publish package to NPM π | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }} | |
run: | | |
npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}" | |
yarn turbo publishPackage | |
- name: Publish GitHub Release π | |
uses: softprops/action-gh-release@v1 | |
with: | |
name: gitmoji ${{github.ref_name}} | |
generate_release_notes: true |