fix(android): Fix android events not emitting (#49) #16
Workflow file for this run
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: Pre-Release | |
on: | |
push: | |
branches: | |
- 'release/**' | |
jobs: | |
increment-version: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 14.x | |
- name: Assign version to RELEASE_VERSION environment variable | |
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/*/}" >> $GITHUB_ENV | |
- name: Bump npm package version | |
run: npm version $RELEASE_VERSION --no-git-tag-version | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} | |
- name: Push version bump commit | |
uses: EndBug/add-and-commit@v9 | |
- name: Validate Publish Flow | |
run: | | |
npm install | |
npm publish --dry-run | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} | |