Skip to content

Commit 17ddc63

Browse files
authored
Merge pull request #4 from johelder/dev
dev->main
2 parents e7f0de1 + 5aef9cc commit 17ddc63

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
- name: Setup
3636
uses: ./.github/actions/setup
3737

38-
# - name: Run unit tests
39-
# run: yarn test --maxWorkers=2 --coverage
38+
- name: Run unit tests
39+
run: yarn test --maxWorkers=2 --coverage
4040

4141
build-library:
4242
runs-on: ubuntu-latest
@@ -50,7 +50,7 @@ jobs:
5050
- name: Build package
5151
run: yarn prepare
5252

53-
build-web:
53+
deploy:
5454
runs-on: ubuntu-latest
5555
steps:
5656
- name: Checkout
@@ -59,6 +59,10 @@ jobs:
5959
- name: Setup
6060
uses: ./.github/actions/setup
6161

62-
- name: Build example for Web
63-
run: |
64-
yarn example expo export --platform web
62+
- name: Initialize the NPM config
63+
run: npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
64+
env:
65+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
66+
67+
- name: Deploy package to NPM
68+
run: yarn release --ci

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ node_modules/
5454
npm-debug.log
5555
yarn-debug.log
5656
yarn-error.log
57+
.npmrc
5758

5859
# BUCK
5960
buck-out/

0 commit comments

Comments
 (0)