13 uses: actions/checkout@v3
16 uses: actions/setup-node@v3
25 - name: Tests & Coverage
33 - name: Production Build
34 run: pnpm run build:prod
38 runs-on: ubuntu-latest
42 uses: actions/checkout@v3
45 uses: actions/setup-node@v3
48 registry-url: https://registry.npmjs.org/
50 - name: Read package.json version
52 uses: jaywcjlove/github-action-package@main
57 - name: Publish Release
58 if: ${{ contains(steps.package-version.outputs.version, '-') == false }}
61 NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
63 - name: Publish Pre-Release
64 if: ${{ contains(steps.package-version.outputs.version, '-') == true }}
65 run: pnpm publish --tag next
67 NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
69 # - name: Publish Beta Release
70 # if: ${{ contains(steps.package-version.outputs.version, 'beta') == true }}
71 # run: pnpm publish --tag beta
73 # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}