13 uses: actions/checkout@v3
16 uses: actions/setup-node@v3
23 - name: Production Build
24 run: npm run build:prod
29 - name: Production Tests & Coverage
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
51 uses: tyankatsu0105/read-package-version-actions@v1
57 - name: Publish Release
58 if: ${{ contains(steps.package-version.outputs.version, '-') == false }}
61 NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
64 if: ${{ contains(steps.package-version.outputs.version, 'beta') }}
65 run: npm publish --tag beta
67 NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}