Merge pull request #888 from dnum-mi/develop #176
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 | |
on: | |
push: | |
branches: | |
- beta | |
- main | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
always-auth: true | |
node-version: 20.11 | |
- name: Install pnpm | |
run: npm i -g pnpm | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_MININT_TOKEN }} | |
run: pnpm run semantic-release |