Skip to content

Commit

Permalink
Updates env secret name (#87)
Browse files Browse the repository at this point in the history
* chore: removes unused ci files

* ci: adds github workflow for build

* build: changes package.json to current npm version

* build: adds empty changelog

* build: updates build file

* build: ignores npmrc

* build: adds github action for release

* docs: updates readme installation instruction
BREAKING CHANGE: Adds In-App Purchase support

* chore: runs release in dry-run mode for test

* build: updates environment for release

* build: updates env prop for release
  • Loading branch information
cb-haripriyan authored Mar 22, 2023
1 parent 495a95c commit 1aba5c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@ jobs:
npm config set registry https://registry.npmjs.com/
npm config set //registry.npmjs.com/:_authToken=$NPM_TOKEN
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.RN_NPM_WRITE_TOKEN }}
- name: Yarn Tests
run: yarn test
- name: Pre-Release package
if: github.ref == 'refs/heads/next'
run: yarn release --ci --preRelease=beta --dry-run
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.RN_NPM_WRITE_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release package
if: github.ref == 'refs/heads/master'
run: yarn release --ci
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.RN_NPM_WRITE_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1aba5c9

Please sign in to comment.