UnitType runSpeed/walkSpeed #25
This file contains 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: Publish dev package to NPM | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish-npm: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
registry-url: https://registry.npmjs.org/ | |
- run: npm ci | |
- run: npm version --no-git-tag-version $(npm pkg get version --workspaces=false | tr -d \")-dev.$(git rev-parse --short HEAD) | |
shell: bash | |
- run: npm run publish -- --tag dev | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.npm_token}} |