Skip to content

Commit

Permalink
Update release step (#2623)
Browse files Browse the repository at this point in the history
  • Loading branch information
wcandillon committed Sep 10, 2024
1 parent 84e02f8 commit 9cba5ea
Show file tree
Hide file tree
Showing 3 changed files with 2,285 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Build NPM Package
working-directory: packages/skia
run: |
npx semantic-release
yarn release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
5 changes: 5 additions & 0 deletions packages/skia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"tsc": "tsc --noEmit",
"test": "jest",
"e2e": "E2E=true yarn test -i e2e",
"release": "semantic-release",
"build": "bob build && merge-dirs lib/typescript/src lib/commonjs && merge-dirs lib/typescript/src lib/module",
"build-skia-ios-framework": "ts-node ./scripts/build-skia-ios-framework.ts",
"build-skia-ios": "ts-node ./scripts/build-skia-ios.ts && yarn build-skia-ios-framework",
Expand Down Expand Up @@ -101,6 +102,9 @@
},
"devDependencies": {
"@babel/plugin-proposal-nullish-coalescing-operator": "7.18.6",
"@semantic-release/commit-analyzer": "^13.0.0",
"@semantic-release/github": "^10.3.3",
"@semantic-release/release-notes-generator": "^14.0.1",
"@types/jest": "29.5.6",
"@types/pixelmatch": "5.2.4",
"@types/pngjs": "6.0.1",
Expand All @@ -121,6 +125,7 @@
"react-native-builder-bob": "0.18.2",
"react-native-reanimated": "^3.15.1",
"rimraf": "3.0.2",
"semantic-release": "^24.1.0",
"semantic-release-monorepo": "^8.0.2",
"ts-jest": "29.1.1",
"ts-node": "^10.9.2",
Expand Down
Loading

0 comments on commit 9cba5ea

Please sign in to comment.