fix(console): allow pretty logs on non-local environments #171
This file contains hidden or 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 Package | |
| on: | |
| push: | |
| branches: [ master, beta, alpha ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| quality: | |
| name: Quality Control | |
| uses: ./.github/workflows/quality_control.yml | |
| secrets: inherit | |
| publish: | |
| name: NPM Publish | |
| runs-on: ubuntu-latest | |
| needs: quality | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 20.x | |
| - name: Install Dependencies | |
| run: | | |
| npm i -g pnpm@9 | |
| pnpm i --frozen-lockfile | |
| - name: Build Distributable | |
| run: pnpm build | |
| - name: Release | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| run: | | |
| npm i -g semantic-release@24 @semantic-release/changelog@6 @semantic-release/git@10 | |
| semantic-release |