Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ runs:
node-version-file: .nvmrc
cache: yarn
cache-dependency-path: yarn.lock
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
run: yarn install --immutable
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
yarn release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
YARN_NPM_AUTH_TOKEN: ''
NPM_TOKEN: ''
NPM_CONFIG_PROVENANCE: true

- name: Deploy to GitHub Pages
Expand Down
2 changes: 1 addition & 1 deletion packages/skia/.releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
[
"@semantic-release/exec",
{
"publishCmd": "mkdir -p /tmp/npm-publish && cp dist/*.tgz /tmp/npm-publish/ && cd /tmp/npm-publish && npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN && npm publish *.tgz --provenance --access public --tag ${nextRelease.channel || 'latest'}"
"publishCmd": "mkdir -p /tmp/npm-publish && cp dist/*.tgz /tmp/npm-publish/ && cd /tmp/npm-publish && npm publish *.tgz --provenance --access public --tag ${nextRelease.channel || 'latest'}"
}
],
[
Expand Down
6 changes: 4 additions & 2 deletions packages/skia/cpp/api/JsiSkImageFilterFactory.h
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,11 @@ class JsiSkImageFilterFactory : public JsiSkHostObject {
JSI_HOST_FUNCTION(MakeRuntimeShader) {
auto rtb = JsiSkRuntimeShaderBuilder::fromValue(runtime, arguments[0]);

const char *childName = "";
std::string childNameStr = "";
const char *childName = childNameStr.c_str();
if (hasOptionalArgument(arguments, count, 1)) {
childName = arguments[1].asString(runtime).utf8(runtime).c_str();
childNameStr = arguments[1].asString(runtime).utf8(runtime);
childName = childNameStr.c_str();
}

sk_sp<SkImageFilter> input = nullptr;
Expand Down
Loading