chore: rename package #9
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: Release beta | |
on: | |
push: | |
branches: [ beta ] | |
jobs: | |
release: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 8 | |
- name: Checkout source code | |
uses: actions/checkout@v2 | |
- name: Install the dependencies | |
run: pnpm install | |
- name: Initialise the NPM config | |
run: pnpm config set //registry.npmjs.org/:_authToken $NPM_TOKEN | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Initialize Git user | |
run: | | |
git config --global user.email "shubpramanik241@gmail.com" | |
git config --global user.name "sourabpramanik" | |
- name: Log git status | |
run: git status | |
- name: Run release | |
run: pnpm release:beta | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |