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
14 changes: 7 additions & 7 deletions .github/workflows/build-npm.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Create a release
on: workflow_dispatch

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -8,10 +9,9 @@ jobs:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
# id-token: write # to enable use of OIDC for npm provenance
id-token: write # to enable use of OIDC for npm provenance
env:
WORKING_DIRECTORY: ./
INPUT_TOKEN: ${{ secrets.NPM_TOKEN }}
concurrency:
group: npm-${{ github.ref }}
cancel-in-progress: true
Expand All @@ -29,11 +29,11 @@ jobs:
- name: Build package and documentation
run: yarn build

- name: Build NPM Package
- name: Upgrade npm for OIDC support
run: npm install -g npm@11

- name: Semantic Release
working-directory: packages/skia
run: |
yarn release
run: yarn release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: false
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v22.3.0
v22.14.0
13 changes: 3 additions & 10 deletions packages/skia/.releaserc
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
{
"branches": [
"main",
{
"name": "exodus-2.0.1",
"prerelease": "rc"
}
{ "name": "exodus-2.0.1", "prerelease": "rc" }
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/npm"
],
[
"@semantic-release/github"
]
"@semantic-release/npm",
"@semantic-release/github"
]
}
2 changes: 1 addition & 1 deletion packages/skia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
"react-native-builder-bob": "0.18.2",
"react-native-reanimated": "^3.0",
"rimraf": "3.0.2",
"semantic-release": "^24.1.0",
"semantic-release": "^25.0.2",
"ts-jest": "29.1.1",
"ts-node": "^10.9.2",
"typescript": "^5.2.2",
Expand Down
Loading
Loading