increase timeout on CLI operation await #58
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: Node.js Package [beta] | |
on: [push] | |
jobs: | |
publish-npm: | |
runs-on: ubuntu-latest | |
if: contains(github.event.head_commit.message, '[beta]') | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "18.12.x" | |
registry-url: https://registry.npmjs.org/ | |
- run: yarn prepublish-and-build | |
- name: Validate version contains beta | |
run: | | |
version=$(jq -r .version package.json) | |
echo $version | grep -q "\-beta" | |
- run: npm publish --tag beta | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | |
- uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
prerelease: false | |
automatic_release_tag: latest |