Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
Build with yarn for release
Browse files Browse the repository at this point in the history
  • Loading branch information
graduad authored and kbetl-dlb committed Jun 29, 2023
1 parent d0680b5 commit 1e6f892
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,15 @@ jobs:
node-version: 16
registry-url: 'https://registry.npmjs.org'
always-auth: true
cache: 'yarn'
- name: install dependencies
run: |
npm install
yarn
env:
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_AUTH_TOKEN }}
- name: build
run: |
yarn build
env:
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_AUTH_TOKEN }}
- name: publish
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
restore-keys: |
${{ runner.os }}-example-pods-
- run: yarn install
- run: yarn build
- run: yarn lint
test:
runs-on: macos-11
Expand All @@ -48,4 +49,5 @@ jobs:
restore-keys: |
${{ runner.os }}-example-pods-
- run: yarn install
- run: yarn build
- run: yarn test
2 changes: 2 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
restore-keys: |
${{ runner.os }}-example-pods-
- run: yarn
- run: yarn --cwd example
- run: yarn build
- run: yarn documentation
- name: Ensure documentation is up to date
run: ./scripts/ensureDocsAreUpdated.sh
3 changes: 0 additions & 3 deletions .yarnrc

This file was deleted.

8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@
"lint:fix": "eslint --fix \"src/**/*.{js,ts,tsx}\"",
"prettier:check": "prettier --check \"src/**/*.{js,ts,tsx}\"\n",
"prettier:fix": "prettier --write \"src/**/*.{js,ts,tsx}\"\n",
"prepare": "bob build && cd scripts && node expose_models.js",
"example": "yarn --cwd example",
"build": "bob build && cd scripts && node expose_models.js",
"example": "yarn && yarn build && yarn --cwd example && yarn pods && yarn --cwd example",
"pods": "cd example/ios && pod install",
"pods:x86_64": "cd example/ios && arch -x86_64 pod install",
"bootstrap": "yarn example && yarn && yarn pods",
"documentation": "rm -rf docs && typedoc --disableSources --sort source-order",
"documentation:convert": "yarn documentation && rm -rf scripts/docs && cd scripts && node convertDocs.js",
"documentation:append": "git add docs",
Expand All @@ -47,9 +46,6 @@
"url": "https://dolby.io/issues"
},
"homepage": "https://dolby.io#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@commitlint/config-conventional": "^11.0.0",
"@react-native-community/eslint-config": "^3.2.0",
Expand Down

0 comments on commit 1e6f892

Please sign in to comment.