Skip to content

Commit

Permalink
chore: set up automated releases (#449)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: includes the work from (#421)
  • Loading branch information
vonovak authored Aug 9, 2021
1 parent 63aa36f commit ca2efc2
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 17,465 deletions.
98 changes: 0 additions & 98 deletions .circleci/config.yml

This file was deleted.

27 changes: 25 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@ on:
pull_request:
branches: [master]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x]
node-version: [15.x]

steps:
- uses: actions/checkout@v2
Expand All @@ -24,6 +27,26 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: yarn install --frozen-lockfile
- run: yarn lint
- run: yarn lint && yarn typescript
env:
CI: true
release:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: git config
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- run: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: yarn install --frozen-lockfile
- run: yarn prepare && yarn release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ PODS:
- React-jsi (= 0.64.2)
- React-perflogger (= 0.64.2)
- React-jsinspector (0.64.2)
- react-native-document-picker (5.1.0):
- react-native-document-picker (5.2.0):
- React-Core
- React-perflogger (0.64.2)
- React-RCTActionSheet (0.64.2):
Expand Down Expand Up @@ -385,7 +385,7 @@ SPEC CHECKSUMS:
React-jsi: 67747b9722f6dab2ffe15b011bcf6b3f2c3f1427
React-jsiexecutor: 80c46bd381fd06e418e0d4f53672dc1d1945c4c3
React-jsinspector: cc614ec18a9ca96fd275100c16d74d62ee11f0ae
react-native-document-picker: f195e59a00586dcec0fc9d6d4e80c2f9938b844a
react-native-document-picker: b955bfbde32d6da61e4e5b486d1acb5b3485a192
React-perflogger: 25373e382fed75ce768a443822f07098a15ab737
React-RCTActionSheet: af7796ba49ffe4ca92e7277a5d992d37203f7da5
React-RCTAnimation: 6a2e76ab50c6f25b428d81b76a5a45351c4d77aa
Expand Down
Loading

0 comments on commit ca2efc2

Please sign in to comment.