Skip to content

Commit

Permalink
MAINTENANCE:Check for beta
Browse files Browse the repository at this point in the history
  • Loading branch information
tonysamperi authored Jun 5, 2024
1 parent a92cbfc commit dad5a24
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,17 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.3.0
node-version: 20.9.0
registry-url: https://registry.npmjs.org/
- run: npm i -g yarn
- run: yarn install --check-files
- run: npm run build
- run: npm publish
- run: |
pkgversion=$(node -p -e "require('./package.json').version")
if [[ $VERSION == *"beta"* ]]; then
npm publish:beta
else
npm publish
fi
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit dad5a24

Please sign in to comment.