Skip to content

Merge pull request #21 from apathyjade/development #125

Merge pull request #21 from apathyjade/development

Merge pull request #21 from apathyjade/development #125

Workflow file for this run

name: jelper-publish
on:
push:
branches:
- master
- beta
env:
NPM_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- 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