Skip to content

Merge pull request #25 from apathyjade/development #129

Merge pull request #25 from apathyjade/development

Merge pull request #25 from apathyjade/development #129

Workflow file for this run

name: jelper-publish
on:
push:
branches:
- master
- beta
env:
NPM_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
LOGER: none
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- name: build
run: |
npm install -g pnpm
npm install -g @microsoft/rush
rush update
rush build
- name: publish beta
if: ${{ github.ref_name == 'beta'}}
run: rush publish --apply
- name: publish
if: ${{ github.ref_name == 'master'}}
run: |
rush publish -p --include-all --tag=latest