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
5 changes: 4 additions & 1 deletion .github/actions/setup-tools/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ runs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22 # semantic-release requires at least this version
- name: Update npm # To ensure npm 11.5.1 or later is installed for Trusted publishing
shell: bash
run: npm install -g npm@latest
- name: Install dependencies
shell: bash
run: npm i
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ permissions:
contents: write
issues: write
deployments: write
id-token: write # to enable use of OIDC for npm provenance and trusted publishing

jobs:
setup:
Expand Down Expand Up @@ -46,5 +47,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
GH_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: npx semantic-release
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
"@rollup/wasm-node": "~4.19.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^10.1.2",
"@semantic-release/npm": "^12.0.1",
"@semantic-release/github": "^12.0.0",
"@semantic-release/npm": "^13.1.1",
"@typescript-eslint/eslint-plugin": "~7.17.0",
"@typescript-eslint/parser": "~7.17.0",
"eslint": "^8.56.0",
Expand All @@ -73,7 +73,7 @@
"prettier": "~3.3.3",
"prettier-plugin-java": "~2.6.4",
"rimraf": "^3.0.2",
"semantic-release": "^24.0.0",
"semantic-release": "^25.0.1",
"swiftlint": "^1.0.2",
"typescript": "~5.4.5",
"vite": "^5.2.11",
Expand Down
4 changes: 1 addition & 3 deletions release.config.cjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
module.exports = {
branches: [
{ name: 'main', channel: 'latest' },
{ name: '1.x-Maintenance', channel: 'latest' },
{ name: 'next', channel: 'next', prerelease: true },
{ name: 'dev', channel: 'dev', prerelease: true }
{ name: '1.x-Maintenance', channel: 'latest-1', prerelease: false },
],
repositoryUrl: 'https://github.com/ionic-team/capacitor-os-inappbrowser.git',
plugins: [
Expand Down